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

file

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Name = core.Name

Variables

This section is empty.

Functions

func NewSource

func NewSource(opts ...Option) config.Source

Types

type Option

type Option func(o *options)

func WithMode

func WithMode(mode config.Mode) Option

WithMode 设置读写模式

func WithPath

func WithPath(path string) Option

WithPath 设置配置文件或配置目录路径

type Source

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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