diff options
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -5,13 +5,8 @@ package main import ( "fmt" - "os/exec" - "github.com/go-cmd/cmd" - "github.com/google/uuid" "go.wit.com/log" - "golang.org/x/text/cases" - "golang.org/x/text/language" ) // This was just going to be a function to print the results to stdout @@ -131,6 +126,7 @@ func (msg *MsgName) printMsg() { } } +/* func checkCmd(cmd string) { // path, err := exec.LookPath(cmd) _, err := exec.LookPath(cmd) @@ -160,6 +156,7 @@ func (pf *File) noPluralMessage() { log.Info("###########################################################################") badExit(fmt.Errorf("proto file error %s", pf.Filename)) } +*/ // message Fruits { // `autogenpb:marshal` `autogenpb:mutex` // string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` @@ -167,6 +164,7 @@ func (pf *File) noPluralMessage() { // repeated Fruit Fruits = 3; // THIS MUST BE "Fruit" and then "Fruit" + "s" // } +/* func (pf *File) noUuid() { base := cases.Title(language.English, cases.NoLower).String(pf.Filebase) id := uuid.New() @@ -209,3 +207,4 @@ func userInstructions() { log.Info(" apt install protoc-gen-go # for protoc-gen-go") log.Info("") } +*/ |
