Skip to content

Commit

Permalink
fix: fix pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
asjdf committed Dec 1, 2023
1 parent 18296ac commit 2cd5507
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
github_token: ${{ github.token }}
- uses: bufbuild/[email protected]
with:
against: 'https://github.com/juanjiTech/jTerm-proto.git#branch=main'
against: 'https://github.com/juanjiTech/termium-proto.git#branch=main'
buf_token: ${{ secrets.BUF_TOKEN }}
generate:
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions gen/proto/auth/v1/auth_service.pb.go

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

10 changes: 5 additions & 5 deletions gen/proto/sync/v1/host.pb.go

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

10 changes: 5 additions & 5 deletions gen/proto/sync/v1/keychain.pb.go

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

9 changes: 5 additions & 4 deletions gen/proto/sync/v1/known_hosts.pb.go

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

12 changes: 6 additions & 6 deletions gen/proto/sync/v1/sync_service.pb.go

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

8 changes: 4 additions & 4 deletions gen/proto/team/v1/team.pb.go

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

9 changes: 5 additions & 4 deletions gen/proto/team/v1/team_service.pb.go

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

10 changes: 5 additions & 5 deletions gen/proto/user/v1/key_wallet.pb.go

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

10 changes: 5 additions & 5 deletions gen/proto/user/v1/user.pb.go

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

8 changes: 4 additions & 4 deletions gen/proto/user/v1/user_service.pb.go

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

2 changes: 1 addition & 1 deletion proto/auth/v1/auth_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package auth.v1;

import "google/api/annotations.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/auth/v1;authV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/auth/v1;authV1";

service AuthService {
// 用户注册
Expand Down
2 changes: 1 addition & 1 deletion proto/sync/v1/host.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sync.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/sync/v1;syncV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/sync/v1;syncV1";

message Host {
string id = 1; // 内部唯一ID ulid
Expand Down
2 changes: 1 addition & 1 deletion proto/sync/v1/keychain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sync.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/sync/v1;syncV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/sync/v1;syncV1";

// SSH 密钥
message SshKey {
Expand Down
2 changes: 1 addition & 1 deletion proto/sync/v1/known_hosts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sync.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/sync/v1;syncV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/sync/v1;syncV1";

message KnownHost {
string id = 1; // 内部唯一ID ulid
Expand Down
2 changes: 1 addition & 1 deletion proto/sync/v1/sync_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "sync/v1/keychain.proto";
import "sync/v1/known_hosts.proto";
import "user/v1/key_wallet.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/sync/v1;syncV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/sync/v1;syncV1";

service SyncService {
// 拉取指定时间点之后的配置变动信息
Expand Down
2 changes: 1 addition & 1 deletion proto/team/v1/team.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package team.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/team/v1;teamV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/team/v1;teamV1";

message Team {
string id = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/team/v1/team_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package team.v1;
import "google/api/annotations.proto";
import "team/v1/team.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/team/v1;teamV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/team/v1;teamV1";

service TeamService {
// 获取团队信息
Expand Down
2 changes: 1 addition & 1 deletion proto/user/v1/key_wallet.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package user.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/user/v1;userV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/user/v1;userV1";

message UserKeyWallet {
string uid = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/user/v1/user.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package user.v1;

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/user/v1;userV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/user/v1;userV1";

enum UserStatus {
USER_STATUS_UNSPECIFIED = 0;
Expand Down
2 changes: 1 addition & 1 deletion proto/user/v1/user_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package user.v1;
import "google/api/annotations.proto";
import "user/v1/user.proto";

option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/user/v1;userV1";
option go_package = "github.com/juanjiTech/termium-proto/gen/proto/user/v1;userV1";

service UserService {
rpc GetInfo(GetInfoRequest) returns (GetInfoResponse) {
Expand Down

0 comments on commit 2cd5507

Please sign in to comment.