Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractConfig ¶ added in v1.2.0
func GetNameAndRequiredFlag ¶ added in v1.2.1
func GetNameAndRequiredFlag(field reflect.StructField) (string, bool)
func ResolveDefaultConfigPath ¶ added in v1.2.1
func SetProperties ¶ added in v1.2.1
func SetProperties(field reflect.StructField, t *jsonschema.Type)
Types ¶
type ConfigSchema ¶
type Schema ¶
type Schema *jsonschema.Schema
func GenerateConfigSchema ¶
func GenerateConfigSchema(cfgPtr interface{}) Schema
Click to show internal directories.
Click to hide internal directories.