Documentation
¶
Index ¶
- func CreatePath(path string) error
- func ExistsPath(path string) bool
- func GetGoImportsFromFile(data string) []string
- func GetGoPackageNameForDir(path string) (string, error)
- func GetGoPackageNameForFile(path, fileName string) (string, error)
- func ReadFile(filePath string) ([]byte, error)
- func RemoveFile(filePath string) error
- func RemoveFiles(dir, nameSuffix string) error
- func SaveFile(path, fileName string, data []byte) error
- func ToPascalCase(s string) string
- func UpdateGoImports(data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePath ¶
func ExistsPath ¶
func GetGoImportsFromFile ¶
func GetGoPackageNameForDir ¶
func GetGoPackageNameForFile ¶
func RemoveFiles ¶
RemoveFiles - remove all files in dir with name suffix
func ToPascalCase ¶
func UpdateGoImports ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.