Skip to content

Commit

Permalink
update createGroup pb
Browse files Browse the repository at this point in the history
  • Loading branch information
showurl committed Feb 23, 2023
1 parent 16956fe commit 332664a
Show file tree
Hide file tree
Showing 6 changed files with 907 additions and 885 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
*local_*/

*.xdb

deploy
sdk
deploy
1 change: 1 addition & 0 deletions app/group/internal/logic/createGroupLogic.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func (l *CreateGroupLogic) CreateGroup(in *pb.CreateGroupReq) (*pb.CreateGroupRe

return &pb.CreateGroupResp{
GroupId: utils.AnyPtr(group.Id),
Info: group.GroupBaseInfo(),
}, nil
}

Expand Down
1,778 changes: 895 additions & 883 deletions common/pb/group.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions common/pb/group.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ message CreateGroupResp {
CommonResp commonResp = 1;
// 群ID
optional string groupId = 2;
optional GroupBaseInfo info = 3;
}

//GetGroupHomeReq 获取群聊首页
Expand Down
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ require (
github.com/docker/docker v20.10.21+incompatible
github.com/gin-gonic/gin v1.8.1
github.com/go-sql-driver/mysql v1.6.0
github.com/joho/godotenv v1.5.1
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20221017063954-c5c24655eb63
github.com/minio/minio-go/v7 v7.0.47
github.com/pingcap/parser v3.1.2+incompatible
github.com/qiniu/go-sdk/v7 v7.14.0
github.com/qiniu/qmgo v1.1.4
github.com/sashabaranov/go-gpt3 v1.2.0
github.com/stretchr/testify v1.8.0
github.com/swaggo/files v0.0.0-20220728132757-551d4a08d97a
github.com/swaggo/gin-swagger v1.5.3
github.com/swaggo/swag v1.8.10
Expand Down Expand Up @@ -120,6 +123,7 @@ require (
github.com/pingcap/errors v0.11.4 // indirect
github.com/pingcap/tidb v2.0.11+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.13.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
Expand Down Expand Up @@ -641,6 +643,8 @@ github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY=
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/sashabaranov/go-gpt3 v1.2.0 h1:EI2ZbhEono7BC1N3Z7V8TeeDEHBX0EW4dA363hHE1eY=
github.com/sashabaranov/go-gpt3 v1.2.0/go.mod h1:BIZdbwdzxZbCrcKGMGH6u2eyGe1xFuX9Anmh3tCP8lQ=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/shirou/gopsutil v2.19.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
Expand Down

0 comments on commit 332664a

Please sign in to comment.