yamlkit

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy

func DeepCopy[T any](t any) (*T, error)

func Marshal

func Marshal(t interface{}) (string, error)

func MarshalToFile

func MarshalToFile(info interface{}, file string) error

func Unmarshal

func Unmarshal(js string, t interface{}) error

func UnmarshalBToT

func UnmarshalBToT[T interface{}](bytes []byte) (*T, error)

func UnmarshalFromFile

func UnmarshalFromFile(file string, info interface{}) error

func UnmarshalFromFileToT

func UnmarshalFromFileToT[T any](file string) (*T, error)

func UnmarshalSToT

func UnmarshalSToT[T interface{}](js string) (*T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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