diff options
| author | Jeff Carr <[email protected]> | 2025-01-12 09:28:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-12 09:28:58 -0600 |
| commit | d38f5dda75fd4c4ba8adcaf4125f60a50fe3269b (patch) | |
| tree | d7afe68d06123213b7935060a1124c78a475ea40 /protoc.go | |
| parent | 10f75f87a66a9329fd665bd85099fe94c7beae79 (diff) | |
cleanups and help files
Diffstat (limited to 'protoc.go')
| -rw-r--r-- | protoc.go | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -4,12 +4,10 @@ package main import ( "errors" - "fmt" "os" "path/filepath" "strings" - "github.com/go-cmd/cmd" "go.wit.com/lib/gui/shell" "go.wit.com/log" ) @@ -106,20 +104,3 @@ func runprotoc(pwd string, mycmd []string) error { } return nil } - -func userNotes(result cmd.Status) error { - log.Info("protoc failed", result.Cmd, "with", result.Exit) - for _, line := range result.Stdout { - log.Info("STDOUT:", line) - } - for _, line := range result.Stderr { - log.Info("STDERR:", line) - } - log.Info("This is likely because you don't have protoc and protoc-gen-go installed") - log.Info("") - log.Info("On debian, you can:") - log.Info(" apt install protobuf-compiler # for protoc") - log.Info(" apt install protoc-gen-go # for protoc-gen-go") - log.Info("") - return fmt.Errorf("protoc failed with %d %v", result.Exit, result.Error) -} |
