cfgtest

package
v0.0.0-...-3674750 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 12 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 DocDefaultsOnly

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