config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigPathEmpty = errors.New("config path is empty")

Functions

This section is empty.

Types

type FixerConfig

type FixerConfig struct {
	Tool *ToolConfig `mapstructure:"x-openapi-fixer"`
}

func LoadConfig

func LoadConfig(configPath string) (*FixerConfig, error)

type LoggerConfig

type LoggerConfig struct {
	Level string `mapstructure:"level"`
}

type ToolConfig

type ToolConfig struct {
	Logger *LoggerConfig `mapstructure:"logger"`
}

Jump to

Keyboard shortcuts

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