envgen

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvGen

type EnvGen interface {
	CreateEnvExampleFile(path string) error
	CreateEnvFile(path string) error
	AddConfigToEnv(option EnvOption) error
}

type EnvGenImpl

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

func NewEnvGen

func NewEnvGen(fs database.FileSystem) *EnvGenImpl

func (*EnvGenImpl) AddConfigToEnv

func (s *EnvGenImpl) AddConfigToEnv(option EnvOption) error

func (*EnvGenImpl) CreateEnvExampleFile

func (s *EnvGenImpl) CreateEnvExampleFile(path string) error

func (*EnvGenImpl) CreateEnvFile

func (s *EnvGenImpl) CreateEnvFile(path string) error

type EnvOption

type EnvOption struct {
	ProjectPath string
}

Jump to

Keyboard shortcuts

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