Documentation ¶
Index ¶
- func Create(file string) (*os.File, error)
- func FileExists(file string) bool
- func FileExistsOrCreate(dir string) error
- func GetModule() string
- func GetPbFiles(pbFile string) []string
- func GetProtoFiles(protoFile string) []string
- func GetSwaggerFiles(swaggerFile string) []string
- func GoFormat(file string) error
- func OpenOrCreate(file string) (*os.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Creates or truncates the named file,if the file path contains directories, it will make them first.
func GetPbFiles ¶
func GetProtoFiles ¶
func GetSwaggerFiles ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.