Versions in this module Expand all Collapse all v1 v1.1.2 Apr 18, 2024 Changes in this version + var ErrExtensionNotFound = errors.New("extension not found") + var StringType = "string" + func TypeChoiceValueMarshalJSON(v ITypeChoiceValue) ([]byte, error) + type Extensions struct + func (o *Extensions) Get(name string) (any, error) + func (o *Extensions) GetBool(name string) (bool, error) + func (o *Extensions) GetFloat32(name string) (float32, error) + func (o *Extensions) GetFloat64(name string) (float64, error) + func (o *Extensions) GetInt(name string) (int, error) + func (o *Extensions) GetInt16(name string) (int16, error) + func (o *Extensions) GetInt32(name string) (int32, error) + func (o *Extensions) GetInt64(name string) (int64, error) + func (o *Extensions) GetInt8(name string) (int8, error) + func (o *Extensions) GetIntSlice(name string) ([]int, error) + func (o *Extensions) GetSlice(name string) ([]any, error) + func (o *Extensions) GetString(name string) (string, error) + func (o *Extensions) GetStringMap(name string) (map[string]any, error) + func (o *Extensions) GetStringMapString(name string) (map[string]string, error) + func (o *Extensions) GetStringSlice(name string) ([]string, error) + func (o *Extensions) GetUint(name string) (uint, error) + func (o *Extensions) GetUint16(name string) (uint16, error) + func (o *Extensions) GetUint32(name string) (uint32, error) + func (o *Extensions) GetUint64(name string) (uint64, error) + func (o *Extensions) GetUint8(name string) (uint8, error) + func (o *Extensions) HaveExtensions() bool + func (o *Extensions) MustGetBool(name string) bool + func (o *Extensions) MustGetFloat32(name string) float32 + func (o *Extensions) MustGetFloat64(name string) float64 + func (o *Extensions) MustGetInt(name string) int + func (o *Extensions) MustGetInt16(name string) int16 + func (o *Extensions) MustGetInt32(name string) int32 + func (o *Extensions) MustGetInt64(name string) int64 + func (o *Extensions) MustGetInt8(name string) int8 + func (o *Extensions) MustGetIntSlice(name string) []int + func (o *Extensions) MustGetSlice(name string) []any + func (o *Extensions) MustGetString(name string) string + func (o *Extensions) MustGetStringMap(name string) map[string]any + func (o *Extensions) MustGetStringMapString(name string) map[string]string + func (o *Extensions) MustGetStringSlice(name string) []string + func (o *Extensions) MustGetUint(name string) uint + func (o *Extensions) MustGetUint16(name string) uint16 + func (o *Extensions) MustGetUint32(name string) uint32 + func (o *Extensions) MustGetUint64(name string) uint64 + func (o *Extensions) MustGetUint8(name string) uint8 + func (o *Extensions) Register(exts IExtensionsValue) + func (o *Extensions) Set(name string, value any) error + type IExtensionsValue any + type ITypeChoiceValue interface + String func() string + Type func() string + Valid func() error