field

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field interface {
	GetType(tp string) Type
	GetTypes() map[string]Type
}

func New

func New() Field

type Type

type Type interface {
	Name() string
	Validate(in *structpb.Value) bool
	ToString(in *structpb.Value) string
	ToValue(in string) *structpb.Value
}

Jump to

Keyboard shortcuts

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