generate

command
v1.5.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This script will read the Config.toml file and create: - a formatted get.go file, with get functions for each environment variable; - a config.md file with documentation for the environment variables.

Each table entry in the toml file translates into an environment variable. In Go, this becomes a map[string](map[string]Env), with the keys of the outter map being topic names, and the keys of the inner map being variable names.

Jump to

Keyboard shortcuts

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