Skip to content

Commit

Permalink
Merge pull request #7 from gotomicro/feature/pb-cmd
Browse files Browse the repository at this point in the history
feat: add prototool subcommand
  • Loading branch information
sevennt authored Mar 4, 2021
2 parents 69798f5 + 46ad6ce commit de53969
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 6 deletions.
12 changes: 12 additions & 0 deletions cmd/pb/pb.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package pb

import (
"github.com/uber/prototool/pcmd"

"github.com/gotomicro/egoctl/cmd"
)

func init() {
cmd.RootCommand.AddCommand(pcmd.GetCommand())
}

13 changes: 8 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ require (
github.com/go-playground/universal-translator v0.17.0
github.com/go-playground/validator/v10 v10.4.1
github.com/gorilla/websocket v1.4.2
github.com/gotomicro/ego v0.3.7
github.com/gotomicro/ego v0.3.10
github.com/gotomicro/gotoant v0.0.0-20210105085109-df5f1354ac30
github.com/pelletier/go-toml v1.2.0
github.com/pelletier/go-toml v1.8.1
github.com/smartwalle/pongo2render v1.0.1
github.com/spf13/cobra v1.1.1
github.com/spf13/cobra v1.1.3
github.com/syndtr/goleveldb v1.0.0
go.uber.org/zap v1.15.0
gopkg.in/yaml.v2 v2.3.0
github.com/uber/prototool v1.10.0
go.uber.org/zap v1.16.0
gopkg.in/yaml.v2 v2.4.0
)

replace github.com/uber/prototool v1.10.0 => github.com/gotomicro/prototool v1.10.1-0.20210304081706-a1439f175b8c
Loading

0 comments on commit de53969

Please sign in to comment.