//
pkg.gl
Category
github.com/liwilliamLL/goctl-v2pgsql-
tools
goctl
util
ctx
package
1.2.0
Repository:
https://github.com/liwilliamll/goctl-v2pgsql-.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
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.