postgres:GORM PostgreSQL驱动程序 源码
GORM PostgreSQL驱动程序 快速开始 import ( "gorm.io/driver/postgres" "gorm.io/gorm" ) // https://github.com/jackc/pgx dsn := "host=localhost user=gorm password=gorm DB.name=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai" db , err := gorm . Open ( postgres . Open ( dsn ), & gorm. Config {}) 组态 impo
用户评论