Skip to content

Commit

Permalink
NewGorm to NewDB
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoogle-ink committed Sep 15, 2020
1 parent b0e81a3 commit cc47032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gorm/gorm.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Gorm() *Client {
}

// 初始化Gorm
func NewGorm(dbname string) {
func NewDB(dbname string) {
var (
orm *gorm.DB
err error
Expand Down

0 comments on commit cc47032

Please sign in to comment.