envtag

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvKey     = "env"
	DefaultKey = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Name     string
	Default  string
	Ignore   bool
	NoPrefix bool
}

func ParseStructTag

func ParseStructTag(tag reflect.StructTag) Tag

func ParseTag

func ParseTag(str string) Tag

func (Tag) IsEmpty

func (t Tag) IsEmpty() bool

Jump to

Keyboard shortcuts

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