自动生成 protobuf 代码 (tag: v1.3.0)

This commit is contained in:
sky
2025-08-30 00:26:38 +08:00
parent be28fff75a
commit ed55b71443
7 changed files with 10 additions and 10 deletions

View File

@@ -27,8 +27,8 @@
```go ```go
import ( import (
"context" "context"
"git.0yue.com/shenxianhe/sdk/account/v1" "git.shenxianhe.cn/shenxianhe/sdk/account/v1"
"git.0yue.com/shenxianhe/sdk/notification/v1" "git.shenxianhe.cn/shenxianhe/sdk/notification/v1"
"connectrpc.com/connect" "connectrpc.com/connect"
) )
``` ```

View File

@@ -798,7 +798,7 @@ const file_account_v1_account_proto_rawDesc = "" +
"\aSetName\x12\x1a.account.v1.SetNameRequest\x1a\x1b.account.v1.SetNameResponse\x12c\n" + "\aSetName\x12\x1a.account.v1.SetNameRequest\x1a\x1b.account.v1.SetNameResponse\x12c\n" +
"\x12GetAvatarUploadURL\x12%.account.v1.GetAvatarUploadURLRequest\x1a&.account.v1.GetAvatarUploadURLResponse\x12H\n" + "\x12GetAvatarUploadURL\x12%.account.v1.GetAvatarUploadURLRequest\x1a&.account.v1.GetAvatarUploadURLResponse\x12H\n" +
"\tSetAvatar\x12\x1c.account.v1.SetAvatarRequest\x1a\x1d.account.v1.SetAvatarResponse\x12N\n" + "\tSetAvatar\x12\x1c.account.v1.SetAvatarRequest\x1a\x1d.account.v1.SetAvatarResponse\x12N\n" +
"\vGetUserInfo\x12\x1e.account.v1.GetUserInfoRequest\x1a\x1f.account.v1.GetUserInfoResponseB2Z0git.0yue.com/shenxianhe/sdk/account/v1;accountv1b\x06proto3" "\vGetUserInfo\x12\x1e.account.v1.GetUserInfoRequest\x1a\x1f.account.v1.GetUserInfoResponseB7Z5git.shenxianhe.cn/shenxianhe/sdk/account/v1;accountv1b\x06proto3"
var ( var (
file_account_v1_account_proto_rawDescOnce sync.Once file_account_v1_account_proto_rawDescOnce sync.Once

View File

@@ -8,7 +8,7 @@ import (
connect "connectrpc.com/connect" connect "connectrpc.com/connect"
context "context" context "context"
errors "errors" errors "errors"
v1 "git.0yue.com/shenxianhe/sdk/account/v1" v1 "git.shenxianhe.cn/shenxianhe/sdk/account/v1"
http "net/http" http "net/http"
strings "strings" strings "strings"
) )

4
go.mod
View File

@@ -1,8 +1,8 @@
module git.0yue.com/shenxianhe/sdk module git.shenxianhe.cn/shenxianhe/sdk
go 1.25.0 go 1.25.0
require ( require (
connectrpc.com/connect v1.18.1 connectrpc.com/connect v1.18.1
google.golang.org/protobuf v1.36.7 google.golang.org/protobuf v1.36.8
) )

4
go.sum
View File

@@ -6,5 +6,5 @@ golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
google.golang.org/protobuf v1.36.7 h1:IgrO7UwFQGJdRNXH/sQux4R1Dj1WAKcLElzeeRaXV2A= google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc=
google.golang.org/protobuf v1.36.7/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=

View File

@@ -460,7 +460,7 @@ const file_notification_v1_notification_proto_rawDesc = "" +
"\x18SMS_SIGN_STATUS_CANCELED\x10\x042\xbd\x01\n" + "\x18SMS_SIGN_STATUS_CANCELED\x10\x042\xbd\x01\n" +
"\x13NotificationService\x12X\n" + "\x13NotificationService\x12X\n" +
"\vListSMSSign\x12#.notification.v1.ListSMSSignRequest\x1a$.notification.v1.ListSMSSignResponse\x12L\n" + "\vListSMSSign\x12#.notification.v1.ListSMSSignRequest\x1a$.notification.v1.ListSMSSignResponse\x12L\n" +
"\aSendSMS\x12\x1f.notification.v1.SendSMSRequest\x1a .notification.v1.SendSMSResponseB<Z:git.0yue.com/shenxianhe/sdk/notification/v1;notificationv1b\x06proto3" "\aSendSMS\x12\x1f.notification.v1.SendSMSRequest\x1a .notification.v1.SendSMSResponseBAZ?git.shenxianhe.cn/shenxianhe/sdk/notification/v1;notificationv1b\x06proto3"
var ( var (
file_notification_v1_notification_proto_rawDescOnce sync.Once file_notification_v1_notification_proto_rawDescOnce sync.Once

View File

@@ -8,7 +8,7 @@ import (
connect "connectrpc.com/connect" connect "connectrpc.com/connect"
context "context" context "context"
errors "errors" errors "errors"
v1 "git.0yue.com/shenxianhe/sdk/notification/v1" v1 "git.shenxianhe.cn/shenxianhe/sdk/notification/v1"
http "net/http" http "net/http"
strings "strings" strings "strings"
) )