增加注释
This commit is contained in:
1 parent
22fb2b5d0b
commit
706c72b973
3 files changed
+8
-3
No files matched your search
@@ -2,6 +2,7 @@ package database
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
// Database 数据库配置
|
||||
type Database interface {
|
||||
Setup()
|
||||
Open(conn string, cfg *gorm.Config) (db *gorm.DB, err error)
|
||||
|
||||
Reference in new issue
Block a user