Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSqliteDb ¶
Types ¶
type Datasource ¶
func NewSqliteDbs ¶
func NewSqliteDbs(ops ...Option) Datasource
type DbGorm ¶
type DbGorm struct { IsDebug bool // contains filtered or unexported fields }
type Dboptions ¶
type Dboptions func(opts *dboptions) error
----------start----------db option impl----------start----------
func WithDataSource ¶
func WithDataSource(dbs Datasource) Dboptions
type DsOption ¶
type DsOption func(opt *DsOptions)
func WithCharset ¶
func WithDbName ¶
func WithPasswd ¶
type Sqlite3Options ¶
type Sqlite3Options struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.