new

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Files = make([]*FileContent, 0)
)

Functions

This section is empty.

Types

type FileContent

type FileContent struct {
	FileName string `json:"file_name"`
	Dir      string `json:"dir"`
	Content  string `json:"context"`
}

type Project added in v0.0.5

type Project struct {
	ServerName string

	PackageName string

	RunTrans []string

	ProPath string

	ImportServer []string

	SingleMark string

	// "true" or "false"
	Monitoring string
	// contains filtered or unexported fields
}

Project

func InitProject added in v0.0.9

func InitProject(options ...ProjectOption) *Project

func (*Project) Run added in v0.0.5

func (pj *Project) Run(v *viper.Viper)

type ProjectOption added in v0.0.7

type ProjectOption func(*Project)

func WithProjectLogger added in v0.0.7

func WithProjectLogger(logger log.Logger) ProjectOption

func WithProjectTpl added in v0.0.7

func WithProjectTpl(tpl templates.Tpl) ProjectOption

func WithProjectWriter added in v0.0.7

func WithProjectWriter(writer filedir.IfaceWriter) ProjectOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL