Documentation ¶
Index ¶
- Variables
- func InsertAuthGroup(ids ...int)
- func InsertAuthUserWithId(ids ...int)
- func InsertAuthUserWithName(names ...string)
- func InsertUserGroup(userId int, groupId int)
- func RunWithDB(t *testing.T, test func(t *testing.T))
- type AuthGroup
- type AuthUser
- type AuthUserGroups
- type ModelTime
- type SimpleAuthUser
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DBEngine *sqldb.EngineGroup
)
Functions ¶
func InsertAuthGroup ¶
func InsertAuthGroup(ids ...int)
func InsertAuthUserWithId ¶
func InsertAuthUserWithId(ids ...int)
func InsertAuthUserWithName ¶
func InsertAuthUserWithName(names ...string)
func InsertUserGroup ¶
Types ¶
type AuthUserGroups ¶
type ModelTime ¶
type ModelTime struct { DateJoined time.Time `db:"date_joined"` LastLogin sql.NullString `db:"last_login"` }
type SimpleAuthUser ¶
Click to show internal directories.
Click to hide internal directories.