package
0.0.0-20210610174817-6146efeb9f54
Repository: https://github.com/divideandconquer/go-consul-client.git
Documentation: pkg.go.dev

# Packages

Package loadermock is a generated GoMock package.

# Functions

NewMappedLoader creates a Loader that will build config from JSON and store it in a a basic map This is meant to be a stubbed / example implementation of a loader, its not really actually meant to be used in a production environment.

# Interfaces

Loader is a object that can import, initialize, and Get config valuesgo:generate go run -mod=mod github.com/golang/mock/mockgen -package loadermock -destination=./loadermock/mock_loader.go -source=../config/loader.go -build_flags=-mod=mod.