structbot

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidSpecification = errors.New("specification must be a struct pointer")

Functions

func FileMakeStruct added in v0.0.2

func FileMakeStruct(filePath string, out interface{}) error

func MakeStruct added in v0.0.2

func MakeStruct(src interface{}, out interface{}) error

Types

type SerializationType

type SerializationType int
const (
	Json SerializationType = iota
	Yaml
	Xml
	Env
	Unknown
)

func (SerializationType) String

func (s SerializationType) String() string

Jump to

Keyboard shortcuts

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