cfgtest

package
v1.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFieldsNotNil

func AssertFieldsNotNil(t *testing.T, s interface{})

func Clearenv added in v1.10.0

func Clearenv(t *testing.T)

func DocDefaultsOnly added in v1.10.0

func DocDefaultsOnly(r io.Reader, cfg any, decode func(io.Reader, any) error) error

DocDefaultsOnly reads only the default values from a docs TOML file and decodes in to cfg. Fields without defaults will set to zero values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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