chore(proto): consume chat proto Go module

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kaien 2026-08-09 22:42:13 +03:00
parent 11e52d5910
commit f624717f0d
7 changed files with 9 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"google.golang.org/grpc"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-client-go/proto/l-ai-chat-proto"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-proto"
)
type Client struct {

3
go.mod
View File

@ -3,9 +3,9 @@ module gitea.fe.kaien.ru/kaien/l-ai-chat-client-go
go 1.25.0
require (
gitea.fe.kaien.ru/kaien/l-ai-chat-proto v0.0.0-20260809194107-32d924f965c6
github.com/google/uuid v1.6.0
google.golang.org/grpc v1.70.0
google.golang.org/protobuf v1.36.8
)
require (
@ -13,4 +13,5 @@ require (
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect
google.golang.org/protobuf v1.36.8 // indirect
)

2
go.sum
View File

@ -1,3 +1,5 @@
gitea.fe.kaien.ru/kaien/l-ai-chat-proto v0.0.0-20260809194107-32d924f965c6 h1:j7wfWjVUDEnTsvfR3T/cyta+hn/uIpamqosHJ7C2rWg=
gitea.fe.kaien.ru/kaien/l-ai-chat-proto v0.0.0-20260809194107-32d924f965c6/go.mod h1:U9NP13h7myIubtn0x3KwSkysPt6LWbjIuldnotXFrHs=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-client-go/proto/l-ai-chat-proto"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-proto"
)
type HistoryRequest struct {

@ -1 +1 @@
Subproject commit 1c3ee2ff136f068fe04361d4983027327c2698e2
Subproject commit 32d924f965c625cf954dcca92970a1436f5a4ea1

View File

@ -11,7 +11,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-client-go/proto/l-ai-chat-proto"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-proto"
)
type Delivery struct {

View File

@ -17,7 +17,7 @@ import (
"google.golang.org/grpc/status"
"google.golang.org/grpc/test/bufconn"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-client-go/proto/l-ai-chat-proto"
pb "gitea.fe.kaien.ru/kaien/l-ai-chat-proto"
)
type fakeChatServer struct {