go-todo-rest-api-example
go-todo-rest-api-example copied to clipboard
Could not connect database
2019/05/02 13:39:14 Could not connect database exit status 1
Same issues, I am facing
Create username and password on mysql and configure the same on config.go
Create a database "todoapp" before running the app.
You need attach dialect _ "github.com/jinzhu/gorm/dialects/mysql"