Documentation
¶
Index ¶
- func BuildPlugin(pname string) bool
- func CheckCmd(cmd string) (string, error)
- func CheckGoModClean() bool
- func CheckGoModCleanExit()
- func CheckProtoc() bool
- func ConfigureENV() error
- func DoBash(argname string)
- func DumpENV(what string)
- func Install(pkg string) error
- func MakeBashCompletionText(argname string) string
- func QuestionUser(msg string) bool
- func ValidProtobuf(filename string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPlugin ¶ added in v0.0.16
func CheckGoModClean ¶
func CheckGoModClean() bool
func CheckGoModCleanExit ¶
func CheckGoModCleanExit()
func CheckProtoc ¶
func CheckProtoc() bool
func ConfigureENV ¶ added in v0.0.16
func ConfigureENV() error
func DoBash ¶ added in v0.0.21
func DoBash(argname string)
makes a bash autocomplete file for your command
func MakeBashCompletionText ¶ added in v0.0.21
func QuestionUser ¶ added in v0.0.17
func ValidProtobuf ¶
This verifies a .proto file conforms to the autogenpb standard
That means, for "toy.proto", there MUST exist:
message toy { } message toys { }
this parses the .proto file and handles anything with `autogenpb: ` does the fruit.proto file have "message Fruits" does it have a Uuid & valid version ?
This returns (UUID, Version, error on failure)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.