configgen

package
v0.0.0-...-4f71f7c Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 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 ConfigDto

type ConfigDto struct {
	AppName    string
	ConfigPath string
}

type ConfigGen

type ConfigGen interface {
	CreateConfigDir(option ConfigDto) error
	CreateConfigFile(option ConfigDto) error
}

type ConfigGenImpl

type ConfigGenImpl struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(
	fs database.FileSystem,
) *ConfigGenImpl

func (ConfigGenImpl) CreateConfigDir

func (s ConfigGenImpl) CreateConfigDir(option ConfigDto) error

func (ConfigGenImpl) CreateConfigFile

func (s ConfigGenImpl) CreateConfigFile(option ConfigDto) error

Jump to

Keyboard shortcuts

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