Help us shape the future of Go! Take the 2026 Go Developer Survey

zap

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanName

func CleanName(name string) string

func ClusterName

func ClusterName(path string, errata *errata.SDK, entities []types.Entity) string

func DataTypeName

func DataTypeName(dataType *types.DataType) string

func DeviceTypeName

func DeviceTypeName(deviceType *matter.DeviceType, errata *errata.SDK) string

func FieldToZapDataType

func FieldToZapDataType(fs matter.FieldSet, f *matter.Field, constraint constraint.Constraint) string

func GetFallbackValue

func GetFallbackValue(cc *matter.ConstraintContext, fallback constraint.Limit) (fallbackValue types.DataTypeExtreme)

func IsDisallowed added in v1.5.38

func IsDisallowed(entity types.Entity, c conformance.Set) bool

func ToBaseDataType

func ToBaseDataType(s string) types.BaseDataType

Types

type Configurator

type Configurator struct {
	Spec    *spec.Specification
	Docs    []*asciidoc.Document
	Domain  string
	OutPath string

	Features []*matter.Number
	Bitmaps  map[*matter.Bitmap][]*matter.Number
	Enums    map[*matter.Enum][]*matter.Number
	Clusters map[*matter.Cluster]bool
	Structs  map[*matter.Struct][]*matter.Number

	ClusterIDs []string
	Errata     *errata.SDK
	Global     bool

	ExternalEntities map[types.Entity]struct{}
}

func NewConfigurator

func NewConfigurator(spec *spec.Specification, docs []*asciidoc.Document, entities []types.Entity, outPath string, errata *errata.SDK, global bool) (*Configurator, error)

func (*Configurator) DocLogs

func (c *Configurator) DocLogs() slog.Attr

func (*Configurator) IsEmpty added in v1.6.9

func (c *Configurator) IsEmpty() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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