cfg

package
v0.0.0-...-8aeced7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file contains the config file information for storing data about JTAF to reduce input repetition

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	YangDir      string `toml:"yangDir"`
	ProviderDir  string `toml:"providerDir"`
	XpathPath    string `toml:"xpathPath"`
	FileType     string `toml:"fileType"`
	ProviderName string `toml:"providerName"`
}

Config used to decode configuration file.

func GetConfig

func GetConfig(name string) (Cfg Config, err error)

GetConfig loads the config from a .TOML file and removes the problem of repetition.

Jump to

Keyboard shortcuts

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