fix
This commit is contained in:
@@ -22,7 +22,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("Bot Svc")
|
println("Bot Svc")
|
||||||
cc := make(chan bool)
|
cc := make(chan bool)
|
||||||
|
|
||||||
err = config.LoadConfig(opts.Config)
|
err = config.LoadConfig(opts.Config)
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ func GetInstagramByID(id string) (ig *InstagramModel, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// GetAllInstagram -
|
// GetAllInstagram -
|
||||||
func GetAllInstagram() (list []Instagram, err error) {
|
func GetAllInstagram() (list []InstagramModel, err error) {
|
||||||
db := models.GetConn()
|
db := models.GetConn()
|
||||||
query := `
|
query := `
|
||||||
select id, lastpost, ctime, mtime
|
select id, lastpost, ctime, mtime
|
||||||
|
|||||||
Reference in New Issue
Block a user