yamlschema

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpSchema

func DumpSchema(w io.Writer, obj any, prefix string)

DumpSchema dumps a struct schema (recursively) to 'w', following the same semantics as the YAML marshaler. In addition, struct fields that have the 'doc' tag will have that value displayed as documentation.

func FillFromEnvironment

func FillFromEnvironment(obj any, prefix string)

Fill in an object with variables from the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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