![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/openconfig/goyang
Current support for goyang
is for the latest 3 Go releases.
YANG parser and compiler for Go programs.
The yang package (pkg/yang) is used to convert a YANG schema into either an in memory abstract syntax trees (ast) or more fully resolved, in memory, "Entry" trees. An Entry tree consists only of Entry structures and has had augmentation, imports, and includes all applied.
goyang is a sample program that uses the yang (pkg/yang) package.
goyang uses the yang package to create an in-memory tree representation of schemas defined in YANG and then dumps out the contents in several forms. The forms include:
The yang package, and the goyang program, are not complete and are a work in progress.
For more complex output types, such as Go structs, and protobuf messages please use the openconfig/ygot package, which uses this package as its backend.
To build goyang, ensure you have go language tools installed
(available at golang.org) and that the GOPATH
environment variable is set to your Go workspace.
go get github.com/openconfig/goyang
cd <workspace>/src/github.com/openconfig/goyang
go build
goyang is still a work-in-progress and we welcome contributions. Please see
the CONTRIBUTING
file for information about how to contribute to the codebase.
This is not an official Google product.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.