meta

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringEscape added in v1.1.0

func StringEscape(s string) string

Types

type Dependency

type Dependency struct {
	SpecifyName string
	Type        reflect.Type
	Value       reflect.Value
}

func (*Dependency) Name

func (d *Dependency) Name() string

type Meta

type Meta struct {
	Name         string
	Address      string
	Raw          interface{}
	Type         reflect.Type
	Value        reflect.Value
	Dependencies []*Dependency
	Properties   []*Property
	Produce      []*Meta
	DependsBy    []*Meta
}

func NewMeta

func NewMeta(c interface{}) *Meta

func (*Meta) DependBy

func (m *Meta) DependBy(parent *Meta)

func (*Meta) DotNodeAttr added in v1.1.0

func (m *Meta) DotNodeAttr() map[string]string

func (*Meta) ID

func (m *Meta) ID() string

type Property added in v1.1.0

type Property struct {
	Prefix string
	Type   reflect.Type
	Value  reflect.Value
}

Jump to

Keyboard shortcuts

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