Help us shape the future of Go! Take the 2026 Go Developer Survey

configtest

package
v0.48.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareConfigFiles

func PrepareConfigFiles(t *testing.T, dir string, files []ConfigFile)

func PrepareDummyFiles

func PrepareDummyFiles(t *testing.T, dir string, files []DummyFile)

Types

type ConfigFile

type ConfigFile struct {
	// contains filtered or unexported fields
}

func NewConfigFile

func NewConfigFile(filename string, content map[string]any, marshal MarshalFunc) ConfigFile

type DummyFile

type DummyFile struct {
	// contains filtered or unexported fields
}

func NewDummyFile

func NewDummyFile(filename string, size int) DummyFile

type MarshalFunc

type MarshalFunc = func(any) ([]byte, error)

Jump to

Keyboard shortcuts

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