command
module
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
= YAML Utils
image:https://travis-ci.org/Foxcapades/lib-go-yaml.svg?branch=master["Build Status", link="https://travis-ci.org/Foxcapades/lib-go-yaml"]
image:https://img.shields.io/github/v/tag/Foxcapades/lib-go-yaml?label=version[Latest Tag, link=https://github.com/Foxcapades/lib-go-yaml/tags]
image:https://goreportcard.com/badge/github.com/Foxcapades/lib-go-yaml[Go Report Card, link=https://goreportcard.com/report/github.com/Foxcapades/lib-go-yaml]
image:https://codecov.io/gh/Foxcapades/lib-go-yaml/branch/master/graph/badge.svg[Code Coverage, link=https://codecov.io/gh/Foxcapades/lib-go-yaml]
image:https://img.shields.io/badge/go-docs-ff69b4[GoDocs, link="https://pkg.go.dev/github.com/Foxcapades/lib-go-yaml"]
A set of utilities for constructing and dealing with YAML nodes.
Built on top of https://github.com/go-yaml/yaml/tree/v3[go-yaml v3].
[source, sh-session]
----
go get github.com/Foxcapades/lib-go-yaml
----
---
.Example
[source, go]
----
foo := map[string][]string{
"bar": {"fizz", "buzz"}
}
node, _ := xyml.ToYamlNode(foo)
_ = xyml.MapAppend(node, "hi", "bye")
----
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
v1
|
|
|
|
Click to show internal directories.
Click to hide internal directories.