Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
simpleyaml
✓ github.com/smallfish/simpleyaml
Parse and read a YAML value
package main
import (
"fmt"
"github.com/smallfish/simpleyaml"
)
func main() {
yamlContent := []byte("key: value")
y, err := simpleyaml.NewYaml(yamlContent)
if err != nil {
panic(err)
}
fmt.Println(y.Get("key").String())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.