features

package
v0.19.768 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasGetFeature

func HasGetFeature(field reflect.StructField) (bool, error)

func HasTemplateFeature

func HasTemplateFeature(field reflect.StructField) (bool, error)

Types

type FieldFeatures

type FieldFeatures struct {
	Template bool `mapstructure:"template" toml:"template"`
	Get      bool `mapstructure:"get" toml:"get"`
}

func ParseFieldFeatures

func ParseFieldFeatures(field reflect.StructField) (*FieldFeatures, error)

Jump to

Keyboard shortcuts

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