config

package
v0.0.0-...-56e5d74 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TLint struct {
		Dir string `yaml:"dir" validate:"omitempty,dirpath"`
	} `bson:"yaml"`
	Config struct {
		File string `yaml:"file" validate:"omitempty,file"`
		URL  string `yaml:"url"  validate:"omitempty,url"`
	} `yaml:"config"`
	GolangCILint struct {
		Local bool   `yaml:"local"`
		File  string `yaml:"file" validate:"omitempty,file"`
		URL   string `yaml:"url"  validate:"omitempty,url"`
	} `yaml:"golangci-lint"`
	Override map[string]any `yaml:"override"`
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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