yaml
YAML support for the Go language. (by go-yaml)
dyff
/ˈdʏf/ - diff tool for YAML files, and sometimes JSON (by homeport)
yaml | dyff | |
---|---|---|
14 | 6 | |
6,709 | 1,172 | |
0.6% | 2.4% | |
0.0 | 8.1 | |
13 days ago | 2 days ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yaml
Posts with mentions or reviews of yaml.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-30.
-
Use YAML if you want comment in JSON
For the last six years I've primarily been coding in Golang. Primarily against k8s. It is painful that the defacto YAML library for Go (https://github.com/go-yaml/yaml) is neither a YAML 1.1 nor a YAML 1.2 encoder/decoder.
-
Replace a line in a file
Technically that qualifies as yaml, so you could maybe use go-yaml/yaml
- Is gopkg.in down?
- Major Version Numbers are Not Sacred
- Not able to convert a yaml into golang struct
-
New to GoLang, how can i iterate through a YAML Object?
Is it possible to replicate this (or something on those lines) in GoLang? I've tried go-yaml 3.0.0 but i've got no luck. I've gotten something with go-gypsy 1.0.0 (as seen below) but i was not able to use it...
-
yamlkeys: parse real YAML without choking
Unfortunately, all Go YAML parsers that I know of, including the most commonly used go-yaml (originally created by Canonical), will choke when you try to parse such YAML into interface{}, because they try to force it into a Go map, which has many limitations on keys. And you cannot unmarshal it into ny Go map, either, for the same reason.
-
Is go-yaml/yaml still maintained?
I see if you go to the project page with no parameters, Github presents you the v2 branch. Be sure to check out the v3 branch, which I've been using. It allows better access to the parse tree during unmarshaling, and I've used it to good effect. For instance, I have a "notification" unmarshaler that allows you to do either:
-
Generate YAML files in Golang.
This is post is about converting go struct/map into a yaml using this amazing go package go-yaml
- How to compare 2 yaml files in go?
dyff
Posts with mentions or reviews of dyff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
difftool to generate config with only new changes
I personally used dyff https://github.com/homeport/dyff it helped a lot when seeing exactly what was going to change.
-
A tool to sort/rearrange yaml files - or bring them close enough in alignment to allow a decent diff between them.
had good results using https://github.com/homeport/dyff
- A list of new(ish) command line tools – Julia Evans
-
How to compare 2 yaml files in go?
I had the same question some years ago. Since I was also interested in the finer details of possible differences, like order changes or type changes, I decided to write a library and CLI myself: github.com/homeport/dyff.
-
How to compare 2 k8s yaml files?
I use dyff (https://github.com/homeport/dyff) as the output is easy to read.
- Dyff: Diff tool for YAML files, and sometimes JSON
What are some alternatives?
When comparing yaml and dyff you can also consider the following projects:
go-yaml - YAML support for the Go language
cue - CUE has moved to https://github.com/cue-lang/cue
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
gojsonschema - An implementation of JSON Schema, draft v4 v6 & v7 - Go language
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
logo - Logo for Gin web framework
tig - Text-mode interface for git
yamlkeys - Support complex keys when decoding YAML in Go
lnav - Log file navigator