Documentation ¶
Index ¶
- func CheckVersion(dataRootDBSession *sqlx.DB) (int, error)
- func CreateClokiDB(dataRootDBSession *sqlx.DB, dbname *string, user *string)
- func CreateClokiTables(DBSession *sqlx.DB, clokiDBName string)
- func CreateNewUser(dataRootDBSession *sqlx.DB, user *string, password *string)
- func GenerateSQL(table string, values interface{}, engine string) string
- func GetDataRootDBSession(user *string, password *string, dbname *string, host *string, port *int) (*sqlx.DB, error)
- type RollesTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClokiTables ¶
func GenerateSQL ¶
DBFields reflects on a struct and returns the values of fields with `db` tags, or a map[string]interface{} and returns the keys.
Types ¶
type RollesTable ¶
Click to show internal directories.
Click to hide internal directories.