Documentation ¶
Index ¶
- func DictByNormalVariables(fields []types.Variable, normals []types.Variable) Dict
- func GetDefaultGoPath() (string, error)
- func GetModulePath(goModPath string) string
- func GetPkgPath(fName string, isDir bool) (string, error)
- func GetPkgPathFromGOPATH(fName string, isDir bool) (string, error)
- func GetPkgPathFromGoMod(fName string, isDir bool, goModPath string) (string, error)
- func GetPkgPrefix(base, pkg string) (prefix string)
- func GetRelatedFilePath(pkg string) (string, error)
- func GoModPath(fName string, isDir bool) (string, error)
- func Goimports(path string) (err error)
- func PackageName(path string, decl string) (string, error)
- func SliceStringToMap(slice []string) (m map[string]int)
- func ToCamel(s string) string
- func ToLowerCamel(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DictByNormalVariables ¶
func GetDefaultGoPath ¶
func GetModulePath ¶
func GetPkgPathFromGoMod ¶
func GetPkgPrefix ¶
func GetRelatedFilePath ¶
func SliceStringToMap ¶
convert slice of strings to map[string]int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.