schemas

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Name string
	Type reflect.Type
}

func NewCollection

func NewCollection(name string, t reflect.Type) *Collection

NewCollection creates a new Collection object

func NewEmptyCollection

func NewEmptyCollection() *Collection

type PK

type PK []interface{}

func NewPK

func NewPK(pks ...interface{}) *PK

func (*PK) FromString

func (p *PK) FromString(content string) error

func (*PK) IsZero

func (p *PK) IsZero() bool

func (*PK) ToString

func (p *PK) ToString() (string, error)

type TransFunc added in v0.1.6

type TransFunc func(context.Context) error

Jump to

Keyboard shortcuts

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