scanner

package
v1.2.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtTagHandler

type ExtTagHandler func(field reflect.StructField, value reflect.Value) (string, string, bool)

type Scanner

type Scanner interface {
	AddTags(tags ...string)
	ScanComponent(c any) *meta.Meta
	ScanNodes(tag string, t reflect.Type, v reflect.Value, handlers ...ExtTagHandler) []*meta.Node
}

func New

func New(tags ...string) Scanner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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