//
pkg.gl
Category
github.com/qiaogw/gocode
common
ctx
package
1.10.63
Repository:
https://github.com/qiaogw/gocode.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
10
Dependents
0
Files
203 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.