package
module
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: May 9, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
README
¶
confy
A stupid simple configuration store.
Documentation
¶
A Confy is a stupid simple configuration store.
Func is a Confy that just contains Load and Store funcs.
Load implements Confy using LoadFn.
Store implements Confy using StoreFn.
Mem is an in-memory Confy that uses a bytes.Buffer.
Load implements Confy using io.ReadAll.
Store implements Confy using (*bytes.Buffer).Write.
OS is a Confy which uses a filepath to load and store.
Load implements Confy using os.Open and io.ReadAll.
Store implements Confy using os.Create.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.