Skip to content

Commit

Permalink
gorm.DB returns a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
gewo committed Mar 10, 2016
1 parent 5f640a6 commit a83428f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added app
Binary file not shown.
2 changes: 1 addition & 1 deletion application.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ type Installation struct {
}

type Impl struct {
DB gorm.DB
DB *gorm.DB
}

func (i *Impl) InitDB() {
Expand Down

0 comments on commit a83428f

Please sign in to comment.