project

package
v1.0.15-0...-3723d28 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoMod

type GoMod struct {
	Module string // The gomod module name
	Path   string // The gomod related path
}

type Project

type Project struct {
	Path    string // Project path name
	Name    string // Project name
	Package string // The service related package
	// true-> project in go path or project init with go mod,or else->false
	IsInGoEnv bool
	GoMod     GoMod
}

func Prepare

func Prepare(projectDir string, checkGrpcEnv bool) (*Project, error)

Jump to

Keyboard shortcuts

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