attributes

package
v0.9.26 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table interface {
	Mode() safe.Mode

	Names() []string

	GetAttribute(name string) any
	GetAttributeOptional(name string, defaultValue any) any
	GetAttributeRequired(name string) (any, error)

	SetAttribute(name string, value any)

	Export(dst map[string]any) map[string]any
	Import(src map[string]any)
}

Table 表示 attributes 属性表

func NewTable

func NewTable(mode safe.Mode) Table

NewTable 新建属性表

Jump to

Keyboard shortcuts

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