configuration

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidConfigFile = errors.New("invalid config file")
)

Errors

Functions

This section is empty.

Types

type Config

type Config struct {
	Gitignore        []string `json:"gitignore"`
	DistedFiles      []string `json:"disted_files"`
	DockerName       string   `json:"docker_name"`
	DockerTarget     string   `json:"docker_target"`
	DockerPort       int      `json:"docker_port"`
	GoHTTP           bool     `json:"go_http"`
	CustomDockerFile bool     `json:"custom_dockerfile"`
}

Config of projectl

func NewConfig

func NewConfig(configFilePath string) (*Config, error)

NewConfig creates a new config object with the defaults already set

Jump to

Keyboard shortcuts

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