mock

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Key1 is a mock api key
	Key1 *models.APIKey
	// Key2 is a mock api key
	Key2 *models.APIKey
	// Key3 is a mock api key
	Key3 *models.APIKey
	// DashboardKey is the mock key for the dashboard
	DashboardKey *models.APIKey
)
View Source
var (
	// Profile1 contains the second example profile
	Profile1 *models.Profile
	// Profile2 contains the second example profile
	Profile2 *models.Profile
)

Functions

func NewMockDB

func NewMockDB() *testingdb.TestConnection

NewMockDB returns an in memory temp testing database with mock data

Types

This section is empty.

Jump to

Keyboard shortcuts

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