//
pkg.gl
Category
github.com/melonwool/go-zero
tools
goctl
util
ctx
package
1.1.7
Repository:
https://github.com/melonwool/go-zero.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
2
Files
151 SLOC
#
Functions
IsGoMod
IsGoMod is used to determine whether workDir is a go module project through command `go list -json -m`.
Prepare
Prepare checks the project which module belongs to,and returns the path and module.
#
Structs
Module
Module contains the relative data of go module, which is the result of the command go list.
ProjectContext
ProjectContext is a structure for the project, which contains WorkDir, Name, Path and Dir.