yamlutil

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT

README

yamlutil Go Reference Go

This repository has utilities for working with the Node type in YAML V3.

The yamlconv package

  • It has a function to convert a *yaml.Node to JSON.
  • It also contains a function to convert a *yaml.Node with yaml.Kind yaml.DocumentNode or yaml.MappingNode to a Go map.

The yamlnode package

Contains a Walk function to traverse a YAML document. It also contains, a method to lookup the value given a (string) key in a yaml.DocumentNode or yaml.MappingNode.

You may want to use yqlib instead.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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