util

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package util contains goyang utility functions that could be useful for external users.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessModules

func ProcessModules(yangfiles, path []string) (map[string]*yang.Entry, []error)

ProcessModules takes a list of either module/submodule names or .yang file paths, and a list of include paths. It runs the yang parser on the YANG files by searching for them in the include paths or in the current directory, returning a slice of yang.Entry pointers which represent the parsed top level modules. It also returns a list of errors encountered while parsing, if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL