tron grpc api

This commit is contained in:
anon 2024-11-13 17:40:41 -03:00
parent c30a64e6c5
commit feb5e036d0
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
package api package api
import ( import (
core "gitea.capitan.black/pirate/gotron/gen/core" core "gitea.capitan.black/public/gotron/gen/core"
_ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"

View File

@ -8,10 +8,10 @@ package api
import ( import (
context "context" context "context"
"gitea.capitan.black/public/gotron/gen/core"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
"kk/pkg/crypto/tron/core"
) )
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file

View File

@ -7,9 +7,9 @@
package api package api
import ( import (
core "gitea.capitan.black/public/gotron/gen/core"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
core "kk/pkg/crypto/tron/core"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module gitea.capitan.black/pirate/gotron module gitea.capitan.black/public/gotron
go 1.23.1 go 1.23.1