set1

package
v0.0.0-...-193f563 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ACLUsersTable

func ACLUsersTable(t *testing.T, cfg *backendConfig.Config) func()

func CreateConfig

func CreateConfig(t *testing.T) (*backendConfig.Config, func())

CreateConfig fake config for test

func CreateDatabaseList

func CreateDatabaseList() []database.Database

CreateDatabaseList .

func CreateModelList

func CreateModelList() []database.Model

CreateModelList fake model list from agent

func CreateUserSampleData

func CreateUserSampleData(db *gorm.DB) ([]utilDB.User, error)

CreateUserSampleData sample data for test

func MigrateTables

func MigrateTables(db *gorm.DB) error

MigrateTables migrate db with tables base by domain model

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL