tags

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

View Source
const (
	StructDefaultTagNameOfTableHeader = "name"
)

Variables

This section is empty.

Functions

func GetFieldTags

func GetFieldTags(t reflect.Type, tag ...string) map[int]string

GetFieldTags 缓存字段Tag

func GetHeadersByTags

func GetHeadersByTags(value any, tag ...string) []string

GetHeadersByTags 获取字段表头

func GetStructHeaders

func GetStructHeaders(t reflect.Type, tag ...string) []string

GetStructHeaders 获取structs表头

func GetValuesByTags

func GetValuesByTags(value any, tag ...string) []string

GetValuesByTags Values 输出表格的行和列

Types

This section is empty.

Jump to

Keyboard shortcuts

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