yaml

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package yaml provides the yaml functions

Index

Constants

This section is empty.

Variables

View Source
var (
	Marshal    = yaml.Marshal
	Unmarshal  = yaml.Unmarshal
	NewDecoder = yaml.NewDecoder
	NewEncoder = yaml.NewEncoder
)
View Source
var (
	Codec = codec{}
)

Functions

func MarshalToString

func MarshalToString(v any) string

MarshalToString returns json string, and ignores error

func MustToString

func MustToString(v any) string

MustToString returns json string, or panic

Types

This section is empty.

Jump to

Keyboard shortcuts

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