kongutil

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

package kongutil provides helper functions for working with the kong parser

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedConfigFormat = errors.New("Unsupported config format")
)

Functions

func Hybrid

func Hybrid(r io.Reader) (kong.Resolver, error)

Hybrid returns a Resolver that retrieves values from a supported structured datasource. Currently JSON and YAML are supported.

Hyphens in flag names are replaced with underscores.

Types

This section is empty.

Jump to

Keyboard shortcuts

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