Documentation
¶
Index ¶
- func Exec(sql string) (sqlResult sql.Result, err error)
- func ExecFile(path string) (err error)
- func GetDB() (*sql.DB, error)
- func GetGormDB() *gorm.DB
- func GetTables() (ret []string, err error)
- func InitPG(host, user, password, dbName string, port int32) (err error)
- func InitPGByConfig() error
- func MustInitPGByConfig()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPGByConfig ¶
func InitPGByConfig() error
func MustInitPGByConfig ¶
func MustInitPGByConfig()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.