Registry / serialization / openconfig-goyang

openconfig-goyang

JSON →
library1.6.3gogounverified

Goyang is a YANG parser and tool for validating and displaying YANG data models.

go get github.com/openconfig/goyang
INSTALL
IMPORT
SIG · OPENCONFIG-GOYANG
O
openconfig-goyang
serializationgov1.6.3
harness data pending
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.

goyang
github.com/openconfig/goyang

Parse a YANG file using goyang

package main import ( "fmt" "github.com/openconfig/goyang/pkg/yang" ) func main() { ms := yang.NewModules() ms.AddPath(".") err := ms.Read("example.yang") if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
openconfig-goyang — go get openconfig-goyang · libregistry