feat: consume generated Go SDK

This commit is contained in:
2026-08-17 11:46:41 +08:00
parent a80365adc7
commit daca23fe0d
5 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -5,11 +5,11 @@ go 1.24.0
toolchain go1.24.1
require (
git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go v0.1.0
github.com/caarlos0/env/v11 v11.4.0
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/gorilla/websocket v1.5.1
google.golang.org/grpc v1.79.2
google.golang.org/protobuf v1.36.10
)
require (
@@ -17,4 +17,5 @@ require (
golang.org/x/sys v0.39.0 // indirect
golang.org/x/text v0.32.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/protobuf v1.36.10 // indirect
)
+2
View File
@@ -1,3 +1,5 @@
git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go v0.1.0 h1:zX5Bx+8sQn2kVtlHbQaruq7olulSXDeNlNECzYsMF4o=
git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go v0.1.0/go.mod h1:G9rGGl2SwqLqNsJ2CAFD66k5xqhXh3JJJ1uGRPkynOg=
github.com/caarlos0/env/v11 v11.4.0 h1:Kcb6t5kIIr4XkoQC9AF2j+8E1Jsrl3Wz/hhm1LtoGAc=
github.com/caarlos0/env/v11 v11.4.0/go.mod h1:qupehSf/Y0TUTsxKywqRt/vJjN5nz6vauiYEUUr8P4U=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"google.golang.org/grpc/metadata"
"github.com/XingfenD/yoresee_doc/collab-go/auth"
yoreseedocpb "github.com/XingfenD/yoresee_doc/collab-go/pkg/gen/yoresee_doc/v1"
yoreseedocpb "git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go/yoresee_doc/v1"
"github.com/XingfenD/yoresee_doc/collab-go/proxy"
)
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"
yoreseedocpb "github.com/XingfenD/yoresee_doc/collab-go/pkg/gen/yoresee_doc/v1"
yoreseedocpb "git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go/yoresee_doc/v1"
)
type HealthChecker struct {
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"github.com/XingfenD/yoresee_doc/collab-go/config"
"github.com/XingfenD/yoresee_doc/collab-go/handler"
"github.com/XingfenD/yoresee_doc/collab-go/health"
yoreseedocpb "github.com/XingfenD/yoresee_doc/collab-go/pkg/gen/yoresee_doc/v1"
yoreseedocpb "git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go/yoresee_doc/v1"
"github.com/XingfenD/yoresee_doc/collab-go/proxy"
)