diff --git a/main.go b/main.go index bab3d05..a87d86b 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ func main() { return } - fmt.Println("Bot Svc") + println("Bot Svc") cc := make(chan bool) err = config.LoadConfig(opts.Config) diff --git a/models/public/instagram.go b/models/public/instagram.go index 1e44d99..e29db50 100644 --- a/models/public/instagram.go +++ b/models/public/instagram.go @@ -87,7 +87,7 @@ func GetInstagramByID(id string) (ig *InstagramModel, err error) { } // GetAllInstagram - -func GetAllInstagram() (list []Instagram, err error) { +func GetAllInstagram() (list []InstagramModel, err error) { db := models.GetConn() query := ` select id, lastpost, ctime, mtime