config

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package config provides types and functions/methods for setting up configuration mapping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion added in v0.1.15

func GetVersion(modname string) string

func ReadYaml

func ReadYaml(input []byte) m.Map

ReadYaml parses an input byte slice and returns the resulting mapping. Note that in case of error the function aborts the program as it's not possible to run an application without a valid configuration.

func SetVersion added in v0.1.15

func SetVersion(modname, version string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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