singletonfuncs

command
Version: v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

README

configloader Example: Config access via singleton and package functions

This example is a variant of the recommended usage example -- instead of returning a config object which has methods that implement interfaces, it puts that object into a package singleton and provides functions to access it. This makes testing harder and is not recommended.

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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