test_data

package
v0.1.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataGenerator

type DataGenerator struct{}

func (*DataGenerator) GenerateUser

func (g *DataGenerator) GenerateUser(t *testing.T, email string) map[string]any

GenerateUser generates a user according to the [default-human-user-schema.json]

type Schemas

type Schemas struct {
	CreateSchemaRequestUserSchema      string
	CreateSchemaRequestUserSchemaByUrl string
}

type TestData

type TestData struct {
	Schemas Schemas

	Generator DataGenerator
}

func BuildTestData

func BuildTestData() TestData

Jump to

Keyboard shortcuts

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