config

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeExclusionKey

func NormalizeExclusionKey(item string) string

Types

type Exclude

type Exclude []string

func (Exclude) Index

func (e Exclude) Index() map[string]bool

type IOConfig

type IOConfig struct {
	OmitEmpty  bool
	CaseFormat text.CaseFormat
	Exclude    map[string]bool
	DateFormat string
	TimeLayout string
}

func (*IOConfig) FormatName added in v0.10.0

func (c *IOConfig) FormatName(value string) string

func (*IOConfig) GetTimeLayout

func (c *IOConfig) GetTimeLayout() string

Jump to

Keyboard shortcuts

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