Documentation ¶
Overview ¶
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Index ¶
- Constants
- func TypeAs[T any](t Type) T
- type Any
- type Argument
- type Arguments
- type Bit
- type Bool
- type Byte
- type Char
- type Date
- type Enum
- type EnumValue
- type Error
- type Float
- type Int
- type JSON
- type List
- type Map
- type Method
- type Nil
- type Option
- type Range
- type Reference
- type Set
- type String
- type Time
- type Timestamp
- type TimestampZoned
- type Type
- type Types
- type UUID
- type Unknown
- type ValueMap
- type Wrapped
- func FromReflect(t reflect.Type) *Wrapped
- func NewAny() *Wrapped
- func NewBit() *Wrapped
- func NewBool() *Wrapped
- func NewByte() *Wrapped
- func NewChar() *Wrapped
- func NewDate() *Wrapped
- func NewEnum(ref string) *Wrapped
- func NewEnumValue() *Wrapped
- func NewError(msg string) *Wrapped
- func NewFloat(bits int) *Wrapped
- func NewInt(bits int) *Wrapped
- func NewJSON() *Wrapped
- func NewJSONArgs(obj bool, arr bool) *Wrapped
- func NewList(t *Wrapped) *Wrapped
- func NewListSized(t *Wrapped, size int) *Wrapped
- func NewMap(k *Wrapped, v *Wrapped) *Wrapped
- func NewMethod(ret *Wrapped) *Wrapped
- func NewOption(t *Wrapped) *Wrapped
- func NewRange(t *Wrapped) *Wrapped
- func NewReference() *Wrapped
- func NewReferenceArgs(pkg util.Pkg, k string) *Wrapped
- func NewSet() *Wrapped
- func NewString() *Wrapped
- func NewStringArgs(minLength int, maxLength int, pattern string) *Wrapped
- func NewTime() *Wrapped
- func NewTimestamp() *Wrapped
- func NewTimestampZoned() *Wrapped
- func NewUUID() *Wrapped
- func NewUnknown(x string) *Wrapped
- func NewUnsignedInt(bits int) *Wrapped
- func NewValueMap() *Wrapped
- func NewXML() *Wrapped
- func Wrap(t Type) *Wrapped
- func (x *Wrapped) Default(key string) any
- func (x *Wrapped) EnumKey() string
- func (x *Wrapped) Equals(tgt *Wrapped) bool
- func (x *Wrapped) From(v any) any
- func (x *Wrapped) IsListOf(tgt *Wrapped) bool
- func (x *Wrapped) IsOption() bool
- func (x *Wrapped) Key() string
- func (x *Wrapped) MarshalJSON() ([]byte, error)
- func (x *Wrapped) Scalar() bool
- func (x *Wrapped) Sortable() bool
- func (x *Wrapped) String() string
- func (x *Wrapped) UnmarshalJSON(data []byte) error
- type XML
Constants ¶
const KeyAny = "any"
const KeyBit = "bit"
const KeyBool = "bool"
const KeyByte = "byte"
const KeyChar = "char"
const KeyDate = "date"
const KeyEnum = "enum"
const KeyEnumValue = "enumValue"
const KeyError = "error"
const KeyFloat = "float"
const KeyInt = "int"
const KeyJSON = "json"
const KeyList = "list"
const KeyMap = "map"
const KeyMethod = "method"
const KeyNil = "nil"
const KeyOption = "option"
const KeyRange = "range"
const KeyReference = "reference"
const KeySet = "set"
const KeyString = "string"
const KeyTime = "time"
const KeyTimestamp = "timestamp"
const KeyTimestampZoned = "timestampZoned"
const KeyUUID = "uuid"
const KeyUnknown = "unknown"
const KeyValueMap = "valuemap"
const KeyXML = "xml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type String ¶
type TimestampZoned ¶
type TimestampZoned struct{}
func (*TimestampZoned) Default ¶
func (x *TimestampZoned) Default(string) any
func (*TimestampZoned) From ¶
func (x *TimestampZoned) From(v any) any
func (*TimestampZoned) Key ¶
func (x *TimestampZoned) Key() string
func (*TimestampZoned) Scalar ¶
func (x *TimestampZoned) Scalar() bool
func (*TimestampZoned) Sortable ¶
func (x *TimestampZoned) Sortable() bool
func (*TimestampZoned) String ¶
func (x *TimestampZoned) String() string
type Wrapped ¶
func FromReflect ¶
func NewEnumValue ¶
func NewEnumValue() *Wrapped
func NewJSONArgs ¶
func NewListSized ¶
func NewReference ¶
func NewReference() *Wrapped
func NewTimestamp ¶
func NewTimestamp() *Wrapped
func NewTimestampZoned ¶
func NewTimestampZoned() *Wrapped
func NewUnknown ¶
func NewUnsignedInt ¶
func NewValueMap ¶
func NewValueMap() *Wrapped
func (*Wrapped) MarshalJSON ¶
func (*Wrapped) UnmarshalJSON ¶
Source Files ¶
- any.go
- bit.go
- bool.go
- byte.go
- char.go
- date.go
- enum.go
- enumvalue.go
- error.go
- float.go
- int.go
- json.go
- list.go
- map.go
- method.go
- nil.go
- option.go
- range.go
- reference.go
- reflect.go
- set.go
- string.go
- time.go
- timestamp.go
- timestampzoned.go
- type.go
- unknown.go
- util.go
- uuid.go
- valuemap.go
- wrapped.go
- wrappedjson.go
- xml.go