Skip to content

Commit

Permalink
feat: upgrade proto version
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Jan 2, 2024
1 parent 2c6ed98 commit ec8f436
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/sephirah/internal/data/internal/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func ToBizFeedItemDigest(a *ent.FeedItem) *modelyesod.FeedItemDigest {
digest.Title = a.Title
digest.PublishPlatform = a.PublishPlatform
digest.ShortDescription = a.DigestDescription
digest.ReadCount = a.ReadCount
if a.Image != nil {
digest.AvatarURL = a.Image.URL
}
Expand Down
1 change: 1 addition & 0 deletions app/sephirah/internal/model/converter/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/sephirah/internal/model/modelyesod/modelyesod.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type FeedItemDigest struct {
PublishPlatform string
FeedConfigName string
FeedAvatarURL string
ReadCount int64
}

type FeedWithConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ require (
github.com/redis/go-redis/v9 v9.3.0
github.com/sony/sonyflake v1.2.0
github.com/stretchr/testify v1.8.4
github.com/tuihub/protos v0.2.46
github.com/tuihub/protos v0.2.47
github.com/zhihu/norm v0.1.11
golang.org/x/crypto v0.17.0
golang.org/x/exp v0.0.0-20231127185646-65229373498e
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+F
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tuihub/protos v0.2.46 h1:qcSVowvjziErZOuxr1Aack/j5pw33y6uyVFG2lvmwvQ=
github.com/tuihub/protos v0.2.46/go.mod h1:2+1L/6xLHKFQ6GjOpYziMg8406u/2Nu1/N1lMkNJFKE=
github.com/tuihub/protos v0.2.47 h1:k4rpH2fKRuCH5djnmvoxsmLaUI2qmvS3/dJe8/5BSDM=
github.com/tuihub/protos v0.2.47/go.mod h1:2+1L/6xLHKFQ6GjOpYziMg8406u/2Nu1/N1lMkNJFKE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/tylertreat/BoomFilters v0.0.0-20181028192813-611b3dbe80e8/go.mod h1:OYRfF6eb5wY9VRFkXJH8FFBi3plw2v+giaIu7P054pM=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
Expand Down

0 comments on commit ec8f436

Please sign in to comment.