chore: module update
This commit is contained in:
parent
9c4404767e
commit
1775a7b444
@ -9,7 +9,6 @@ package main
|
||||
|
||||
import "gitter.top/common/gobuf"
|
||||
|
||||
func
|
||||
func main() {
|
||||
parser, err := NewParser("example.proto")
|
||||
if err != nil {
|
||||
@ -25,4 +24,4 @@ func main() {
|
||||
parser.AddRPC("User", "Update")
|
||||
// 添加一个Service Member
|
||||
parser.AddService("Member")
|
||||
```
|
||||
```
|
||||
|
6
go.mod
6
go.mod
@ -3,9 +3,9 @@ module gitter.top/common/gobuf
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/emicklei/proto v1.11.1
|
||||
github.com/stretchr/testify v1.8.2
|
||||
google.golang.org/protobuf v1.30.0
|
||||
github.com/emicklei/proto v1.12.1
|
||||
github.com/stretchr/testify v1.8.4
|
||||
google.golang.org/protobuf v1.31.0
|
||||
)
|
||||
|
||||
require (
|
||||
|
Loading…
Reference in New Issue
Block a user