Documentation
¶
Index ¶
- Variables
- func CamelCase(s string) string
- func Close(closer io.Closer)
- func ExecTemplate(payload string, data interface{}) (string, error)
- func FormatGoFile(data string) ([]byte, error)
- func GoName(s string) string
- func ModuleFromGoMod() (string, error)
- func SnakeCase(s string) string
- func WriteToFile(path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrModuleNotFound = errors.New("module not found")
Functions ¶
func ExecTemplate ¶
func FormatGoFile ¶
func ModuleFromGoMod ¶
func WriteToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.