
The highest tagged major version is
v2.
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Oct 18, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 651
Opens a new window with list of known importers.
Documentation
¶
Package file implements a koanf.Provider that reads raw bytes
from files on disk to be used with a koanf.Parser to parse
into conf maps.
File implements a File provider.
Provider returns a file provider.
Read is not supported by the file provider.
ReadBytes reads the contents of a file on disk and returns the bytes.
Watch watches the file and triggers a callback when it changes. It is a
blocking function that internally spawns a goroutine to watch for changes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.