testdata

package
v0.0.2-rc Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attr

type Attr struct {
	Done   bool
	DoneAt time.Time
}

type EnumType

type EnumType int
const (
	EnumTypeFirst EnumType = iota
	EnumTypeSecond
)

type Inner

type Inner struct {
	ID uint64
}

type Interface

type Interface interface {
	Some()
}

type SubType

type SubType string

type ToDo

type ToDo struct {
	ID           uint64       `json:"id"`
	Name         string       `json:"name"`
	Number       *int64       `json:"number"`
	Sub          SubType      `json:"sub_type"`
	Enum         EnumType     `json:"enum_type"`
	Attr         Attr         `json:"attr"`
	AttrPtr      *Attr        `json:"attr_ptr"`
	Field        Interface    `json:"field"`
	UUID         subpkg1.UUID `json:"uuid"`
	CreateAt     *time.Time   `json:"create_at"`
	SliceOfUint  []uint       `json:"sliceOfUint"`
	SliceOfAttr  []Attr       `json:"sliceOfAttr"`
	Inner        Inner        `json:"inner"`
	SomeOptional optional.Optional[uint64]
}

type Todo

type Todo struct {
	ID        uint64
	Title     string
	CreatedAt time.Time
}

Directories

Path Synopsis
Code generated by github.com/0B1t322/zero-validation v0.0.1, DO NOT EDIT.
Code generated by github.com/0B1t322/zero-validation v0.0.1, DO NOT EDIT.

Jump to

Keyboard shortcuts

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