Documentation ¶
Index ¶
- func CheckProp(ident *Ident, name string) bool
- func CheckPtrStructName(selExpr *SelectorExpr, name string) bool
- func CheckStarProp(ident *Ident, name string) bool
- func CheckStructName(selExpr *SelectorExpr, name string) bool
- func CollectGoFiles(directory string, ignoreDirs []string) ([]string, error)
- func ReplaceParamsInStr(s string) string
- func RunGoGet(path, repo string)
- func RunGoImports(path string)
- func SearchAllDirHasGoMod(path string) (dirs []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPtrStructName ¶
CheckPtrStructName is a function used to check struct name like r.FormFile, can check r *http.Request struct name is 'Request'
func CheckStarProp ¶
func CheckStructName ¶
func ReplaceParamsInStr ¶
func RunGoImports ¶
func RunGoImports(path string)
func SearchAllDirHasGoMod ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.