Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConfig ¶
type DbConfig struct {
// contains filtered or unexported fields
}
func NewDbConfig ¶
func NewDbConfig(user string, password string, name string, host string, port string, sslmode string, url string) *DbConfig
create a new db config type
func (*DbConfig) WithMigration ¶
we use this function to set the path if migration path is not nil
Click to show internal directories.
Click to hide internal directories.