Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormDB ¶
NewGormDB
参考: https://gorm.io/zh_CN/docs/connecting_to_the_database.html#PostgreSQL
@param dsn e.g."host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai"
func NewGormDBOptionally ¶
NewGormDBOptionally 自定义驱动.
参考: https://gorm.io/zh_CN/docs/connecting_to_the_database.html#PostgreSQL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.