{"id":22778890,"url":"https://github.com/guettli/yamlutils","last_synced_at":"2026-05-19T03:19:24.555Z","repository":{"id":264840393,"uuid":"894435827","full_name":"guettli/yamlutils","owner":"guettli","description":"Go package for working with yaml","archived":false,"fork":false,"pushed_at":"2024-11-27T14:38:29.000Z","size":6,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T22:16:03.360Z","etag":null,"topics":["go","golang","yaml"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/guettli/yamlutils","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guettli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-26T10:58:07.000Z","updated_at":"2024-11-26T21:27:31.000Z","dependencies_parsed_at":"2024-11-26T12:20:04.479Z","dependency_job_id":"e075efbe-afb7-4fa7-9aae-5516ffe43691","html_url":"https://github.com/guettli/yamlutils","commit_stats":null,"previous_names":["guettli/yamlutils"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/guettli/yamlutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guettli%2Fyamlutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guettli%2Fyamlutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guettli%2Fyamlutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guettli%2Fyamlutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guettli","download_url":"https://codeload.github.com/guettli/yamlutils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guettli%2Fyamlutils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265228987,"owners_count":23731092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","yaml"],"created_at":"2024-12-11T20:07:04.475Z","updated_at":"2026-05-19T03:19:24.493Z","avatar_url":"https://github.com/guettli.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yamlutils: Go package for working with yaml\n\n## Introduction\n\nImagine you have parsed a yaml like this with [sigs.k8s.io/yaml/goyaml.v3](https://pkg.go.dev/sigs.k8s.io/yaml/goyaml.v3):\n\n```yaml\napiVersion: example.com/v1\nkind: Foo\nmetadata:\n  labels:\n    foo: bar\nspec:\n  level1:\n    level2:\n      level3:\n        field: myValue\n\n```\n\nYou can easily get the value of the deeply nested field like this:\n\n```go\ns, found, err := NestedString(node, \"spec\", \"level1\", \"level2\", \"level3\", \"field\")\n```\n\nIn above example `s` contains \"myValue\", found is true, and err is nil.\n\nIf you try to access a field which does not exit, `found` will be false.\n\nIf the value you try to get exists, but the data types does not match, `err` will be non-nil.\n\n## API Docs\n\n\u003chttps://pkg.go.dev/github.com/guettli/yamlutils\u003e\n\n## Feedback is welcome\n\nPlease create an issue if you find a typo or if you have other ideas how to improve this package.\n\n## Releasing\n\n```terminal\ngo test ./...\n\nRELEASE_TAG=v0.0.X\n\ngit tag $RELEASE_TAG\n\ngit push origin $RELEASE_TAG\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguettli%2Fyamlutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguettli%2Fyamlutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguettli%2Fyamlutils/lists"}