aboutsummaryrefslogtreecommitdiffstats
path: root/models/item/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/item/item.go')
-rw-r--r--models/item/item.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/models/item/item.go b/models/item/item.go
index 500fec9..9639595 100644
--- a/models/item/item.go
+++ b/models/item/item.go
@@ -1,16 +1,17 @@
package item
import (
+ "encoding/base64"
+ "fmt"
+ "strings"
+
"adammathes.com/neko/config"
"adammathes.com/neko/models"
"adammathes.com/neko/vlog"
- "encoding/base64"
- "fmt"
"github.com/PuerkitoBio/goquery"
- "github.com/advancedlogic/GoOse"
+ goose "github.com/advancedlogic/GoOse"
"github.com/microcosm-cc/bluemonday"
"github.com/russross/blackfriday"
- "strings"
)
type Item struct {
@@ -37,7 +38,7 @@ type Item struct {
func (i *Item) Print() {
fmt.Printf("id: %d\n", i.Id)
fmt.Printf("title: %s\n", i.Title)
- fmt.Printf("ReadState: %d\n", i.ReadState)
+ fmt.Printf("ReadState: %t\n", i.ReadState)
}
func (i *Item) Create() error {