fix
This commit is contained in:
parent
e4d767373a
commit
4f8749a969
2
main.go
2
main.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user