test

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyJSON added in v0.0.2

func CopyJSON(dst, from interface{}) error

CopyJSON copy object via json marshal

func MustJSON

func MustJSON(obj interface{}) string

MustJSON marshal obj to json string, a panic will be thrown if marshal failed

func MustYAMLV2 added in v0.0.2

func MustYAMLV2(obj interface{}) string

MustYAMLV2 marshal obj to yaml string, a panic will be thrown if marshal failed

Types

This section is empty.

Jump to

Keyboard shortcuts

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