file

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package file implements the functions, types, and interfaces for the module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(path string, opts ...Option) config.Source

NewSource new a file source.

Types

type Formatter added in v0.2.1

type Formatter func(key string, value []byte) (*config.KeyValue, error)

type Option

type Option func(*file)

func WithFormatter added in v0.2.1

func WithFormatter(f Formatter) Option

func WithIgnores

func WithIgnores(ignores ...string) Option

Jump to

Keyboard shortcuts

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