yaml_loader

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadYamlBytes

func LoadYamlBytes(yamlBytes []byte, retObjects *[]any) error

LoadYamlBytes 加载YAML文件字节,一个文件中可以有多个YAML对象 参数: yamlBytes: YAML文件的字节 retObjects: 用来接收YAML对象的指针或者map的slice 返回值: 错误

func LoadYamlFile

func LoadYamlFile(yamlFilePath string, retObjects *[]any) error

LoadYamlFile 加载YAML文件,一个文件中可以有多个YAML对象 参数: yamlFilePath: YAML文件路径 retObjects: 用来接收YAML对象的指针或者map的slice 返回值: 错误

Types

This section is empty.

Jump to

Keyboard shortcuts

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