Documentation ¶
Index ¶
- func Copy(src, dst string) (int64, error)
- func FormatCode(code string) string
- func GenFile(c FileGenConfig) error
- func GetParentPackage(dir string) (string, error)
- func MaybeCreateFile(dir, subdir, file string) (fp *os.File, created bool, err error)
- func WrapErr(err error, message string) error
- type FileGenConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCode ¶
func GenFile ¶
func GenFile(c FileGenConfig) error
func GetParentPackage ¶
func MaybeCreateFile ¶
MaybeCreateFile creates file if not exists
Types ¶
Click to show internal directories.
Click to hide internal directories.