Documentation ¶
Index ¶
- Variables
- func FileExists(filename string) bool
- func GetProjectPath(dir string) (string, error)
- func GetRootImportPath() string
- func GetTemplate(filename string) string
- func GetUnderlyingType(typ reflect.Type) string
- func GetWorkingPath() (string, error)
- func IsBuiltin(typ reflect.Type) bool
- func RootImportPath() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var FuncMap = template.FuncMap{ "isBuiltin": IsBuiltin, "getUnderlyingType": GetUnderlyingType, "titleCase": strings.Title, "lowerCase": strings.ToLower, }
Functions ¶
func FileExists ¶
func GetProjectPath ¶
func GetRootImportPath ¶
func GetRootImportPath() string
func GetTemplate ¶
func GetUnderlyingType ¶
func GetWorkingPath ¶
getWorkingPath gets the current working directory
func RootImportPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.