confagen

package
v0.0.0-...-52b2ae5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Confagen

type Confagen struct {
	// contains filtered or unexported fields
}

func New

func New() *Confagen

func (*Confagen) Generate

func (c *Confagen) Generate(srcFilePath string, dstFilePath string)

type YAMLNode

type YAMLNode struct {
	// contains filtered or unexported fields
}

YAMLNode is a node of a YAML file with children.

type YAMLStruct

type YAMLStruct struct {
	Name   string
	Fields []YAMLStructField
}

YAMLStruct is representation of a structure.

type YAMLStructField

type YAMLStructField struct {
	Name      string
	ValType   string
	ViperType string
	Path      string
}

YAMLStructField is representation of a field in a structure.

Jump to

Keyboard shortcuts

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