xfield

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TagDeprecated = "deprecated"

TagDeprecated xconf中指定TagDeprecated标记字段将被弃用

View Source
const TagNotLeaf = "notleaf"

TagNotLeaf xconf中指定TagNotLeaf标志字段非叶子节点,用于map

Variables

This section is empty.

Functions

This section is empty.

Types

type TagList

type TagList []string

TagList tag列表,全量

func ParseTag

func ParseTag(tag string) (string, TagList)

ParseTag 解析指定的tag tag is one of followings: "" "name" "name,opt" "name,opt,opt2" ",opt"

func (TagList) Has

func (t TagList) Has(opt string) bool

Has 是否含有指定的标签,区分大小写

func (TagList) HasIgnoreCase

func (t TagList) HasIgnoreCase(opt string) bool

HasIgnoreCase 是否含有指定的标签,不区分大小写

Jump to

Keyboard shortcuts

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