tags

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Builder        = "kanopy:builder"
	BuilderPackage = "package"
	BuilderOptIn   = "true"
	BuilderOptOut  = "false"
	EnumFlag       = "enum"
	RefFlag        = "ref"
)

Variables

This section is empty.

Functions

func Extract

func Extract(comments []string, tag string) string

func ExtractArg added in v0.1.4

func ExtractArg(comments []string, tag string, arg string) string

func ExtractRef added in v0.2.0

func ExtractRef(t *types.Type) string

func GetEnumOptions added in v0.1.4

func GetEnumOptions(t *types.Type) []string

func IsMemberReadyOnly

func IsMemberReadyOnly(m types.Member) bool

func IsPackageTagged

func IsPackageTagged(comments []string) bool

func IsTypeEnabled

func IsTypeEnabled(t *types.Type) bool

func IsTypeOptedOut

func IsTypeOptedOut(t *types.Type) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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