builder

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config[T any] struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig[T any](param *param.Config, from *T) *Config[T]

func (*Config[T]) Default

func (c *Config[T]) Default() (t *T)

func (*Config[T]) Environment

func (c *Config[T]) Environment(key string, value string) (t *T)

func (*Config[T]) Filepath

func (c *Config[T]) Filepath(required string, optionals ...string) (t *T)

func (*Config[T]) Getter

func (c *Config[T]) Getter(getter callback.Getter, getters ...callback.Getter) (t *T)

func (*Config[T]) Loader

func (c *Config[T]) Loader(loader config.Loader, loaders ...config.Loader) (t *T)

func (*Config[T]) Nullable

func (c *Config[T]) Nullable() (t *T)

func (*Config[T]) Required

func (c *Config[T]) Required() (t *T)

Jump to

Keyboard shortcuts

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