simple

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidCopyDestination = errors.New("copy destination is invalid")
	ErrInvalidCopyFrom        = errors.New("copy from is invalid")
)

Functions

func JsonMarshal

func JsonMarshal(i interface{}) ([]byte, error)

func JsonUnmarshal

func JsonUnmarshal(data []byte, i interface{}) error

func Merge

func Merge(toInterface, fromInterface interface{}) (err error)

func Yaml

func Yaml(in interface{}) ([]byte, error)

func YamlUnmarshal

func YamlUnmarshal(bs []byte, i interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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