Skip to content

Chapter_6_Storing_Data/gorm_store/store.go#11

Open
lhwang95 wants to merge 2 commits intosausheong:masterfrom
lhwang95:master
Open

Chapter_6_Storing_Data/gorm_store/store.go#11
lhwang95 wants to merge 2 commits intosausheong:masterfrom
lhwang95:master

Conversation

@lhwang95
Copy link

var Db gorm.DB
causing programming errors: cannot assign *gorm.DB to Db (type gorm.DB) in multiple assignment

lhwang95 added 2 commits July 12, 2018 11:21
var Db gorm.DB cause the program to report an error
.\main.go:32:10: cannot assign *gorm.DB to Db (type gorm.DB) in multiple assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant