test_data

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dummy

type Dummy struct {
	Id      string `json:"id"`
	Key     string `json:"key"`
	Content string `json:"content"`
}

func NewDummy

func NewDummy(id string, key string, content string) *Dummy

type DummyDataPage

type DummyDataPage struct {
	Total *int64  `json:"total"`
	Data  []Dummy `json:"data"`
}

func NewDummyDataPage

func NewDummyDataPage(total *int64, data []Dummy) *DummyDataPage

func NewEmptyDummyDataPage

func NewEmptyDummyDataPage() *DummyDataPage

type DummySchema

type DummySchema struct {
	cvalid.ObjectSchema
}

func NewDummySchema

func NewDummySchema() *DummySchema

Jump to

Keyboard shortcuts

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