package
Version:
v1.52.2
Opens a new window with list of versions in this module.
Published: Oct 13, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
loaders
Package loaders
implements helpers to initialize global state inside the application.
Install
import (
"libs.altipla.consulting/loaders"
)
Contributing
You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt
.
Running tests
Run the tests:
make test
License
MIT License
Documentation
¶
Package loaders implements helpers to initialize global state inside the application.
Lazy runs the function only once and returns the error if there is one. If the
function has already been executed it will never return an error.
It is safe for concurrent use as it uses the once provided to it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.