# README
resolver
import "github.com/slalombuild/fusion/internal/resolver"
Index
Variables
JSONFileMapper implements kong.MapperValue to decode a JSON file into a struct field.
var cli struct {
Profile Profile `type:"jsonfile"`
Policy interface{} `type:"jsonfile"`
}
func main() {
kong.Parse(&cli, kong.NamedMapper("jsonfile", JSONFileMapper))
}
var JSONFileMapper = kong.MapperFunc(decodeJSONFile)
func JSON
func JSON(r io.Reader) (kong.Resolver, error)
Generated by gomarkdoc
# Functions
No description provided by the author
# Variables
JSONFileMapper implements kong.MapperValue to decode a JSON file into a struct field.