yaml

package module
v0.0.0-...-648a86e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Unmarshal   = yaml.Unmarshal
	Marshal     = yaml.Marshal
	NewDecoder  = yaml.NewDecoder
	NewEncoder  = yaml.NewEncoder
	ToJSON      = yaml.YAMLToJSON
	FromJSON    = yaml.JSONToYAML
	HeadComment = yaml.HeadComment
	LineComment = yaml.LineComment
	PathString  = yaml.PathString
)
View Source
var (
	JSON                       = yaml.JSON
	UseJSONMarshaler           = yaml.UseJSONMarshaler
	Indent                     = yaml.Indent
	IndentSequence             = yaml.IndentSequence
	Flow                       = yaml.Flow
	UseLiteralStyleIfMultiline = yaml.UseLiteralStyleIfMultiline
	MarshalAnchor              = yaml.MarshalAnchor
	WithComment                = yaml.WithComment
)

EncodeOption

View Source
var (
	ReferenceReaders     = yaml.ReferenceReaders
	ReferenceFiles       = yaml.ReferenceFiles
	ReferenceDirs        = yaml.ReferenceDirs
	RecursiveDir         = yaml.RecursiveDir
	Validator            = yaml.Validator
	Strict               = yaml.Strict
	DisallowUnknownField = yaml.DisallowUnknownField
	DisallowDuplicateKey = yaml.DisallowDuplicateKey
	UseOrderedMap        = yaml.UseOrderedMap
	UseJSONUnmarshaler   = yaml.UseJSONUnmarshaler
	CommentToMap         = yaml.CommentToMap
)

DecodeOption

Functions

This section is empty.

Types

type Comment

type Comment = yaml.Comment

type CommentMap

type CommentMap = yaml.CommentMap

type CommentPosition

type CommentPosition = yaml.CommentPosition

type DecodeOption

type DecodeOption = yaml.DecodeOption

type Decoder

type Decoder = yaml.Decoder

type EncodeOption

type EncodeOption = yaml.EncodeOption

type Encoder

type Encoder = yaml.Encoder

type MapItem

type MapItem = yaml.MapItem

type MapSlice

type MapSlice = yaml.MapSlice

type Path

type Path = yaml.Path

type PathBuilder

type PathBuilder = yaml.PathBuilder

type Process

type Process = func(resp *http.Response) error // 响应处理器

func Decode

func Decode(out any) Process

Decode 处理yaml响应

type StructField

type StructField = yaml.StructField

type StructFieldMap

type StructFieldMap = yaml.StructFieldMap

Jump to

Keyboard shortcuts

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