config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Ref   map[string]*RefConfig `yaml:"ref"`
	Debug bool                  `yaml:"debug"`
}

type RawConfig

type RawConfig struct {
	Ref   map[string]interface{} `yaml:"ref"`
	Debug bool                   `yaml:"debug"`
}

type RefConfig

type RefConfig struct {
	Path       string   `yaml:"path"`
	Structs    []string `yaml:"structs,omitempty"`
	Enums      []string `yaml:"enums,omitempty"`
	Typedefs   []string `yaml:"typedefs,omitempty"`
	Consts     []string `yaml:"consts,omitempty"`
	Unions     []string `yaml:"unions,omitempty"`
	Exceptions []string `yaml:"exceptions,omitempty"`
}

func GetRef

func GetRef(name string) *RefConfig

func (*RefConfig) IsAllFieldsEmpty

func (r *RefConfig) IsAllFieldsEmpty() bool

func (*RefConfig) String

func (r *RefConfig) String() string

Jump to

Keyboard shortcuts

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