setting

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Setting

type Setting struct {
	InputFmtCsvDir  string `validate:"required"` // 输出的 Csv 文件夹
	OutputCodeGoDir string `validate:"required"` // 输入的 Excel 文件夹
}

func Get

func Get() *Setting

func NewSetting

func NewSetting() *Setting

func (*Setting) Init

func (s *Setting) Init()

func (*Setting) SetAttribute

func (s *Setting) SetAttribute(v *viper.Viper)

Jump to

Keyboard shortcuts

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