env

package
v0.0.0-...-bec8c0a Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// env var
	GOPATH string
	GOBIN  string
	GOBASE string
	PWD    string
	// other varibles
	ProjectName string
}

Env : Env structure

func (*Env) Init

func (env *Env) Init(ProjectName string)

Init : init workdir environment

func (Env) SetupWorkdir

func (env Env) SetupWorkdir() error

SetupWorkdir : create folder and file of your project

Jump to

Keyboard shortcuts

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