package
1.8.1
Repository: https://github.com/zeromicro/go-zero.git
Documentation: pkg.go.dev

# Functions

IsGoMod is used to determine whether workDir is a go module project through command `go env GOMOD`.
Prepare checks the project which module belongs to,and returns the path and module.
UpdateGoWorkIfExist updates go work if workDir is in a go workspace.

# Structs

Module contains the relative data of go module, which is the result of the command go list.
ProjectContext is a structure for the project, which contains WorkDir, Name, Path and Dir.