package
2.0.3+incompatible
Repository: https://github.com/zew/go-questionnaire.git
Documentation: pkg.go.dev
# Functions
Example writes a minimal configuration to file, to be extended or adapted.
Get provides access to the app configuration.
Load reads from an io.Reader to avoid cyclical deps.
LoadFakeConfigForTests makes bootstrap overhead superfluous by creating a.
Pref prefixes a URL path with an application dir prefix.
PrefTS is like Prefix(); TS stands for (with) trailing slash; useful for registering handlers so that /p1/p2/ also serves /p1/p2.
Stack combines / merges addenum into base.
SwitchToTestConfig is used to run systemtests on a different port without TLS.
TrimPrefix removes the prefix from a URL.
# Variables
CfgPath is obtained by ENV variable or command line flag in main package.