1

fix: use buf

This commit is contained in:
Mya 2023-12-28 16:55:41 -06:00
parent 20ec3a02c8
commit a73ddbc7c4
Signed by: mya
GPG Key ID: 4DFBA0F91AC3544A
2 changed files with 9 additions and 4 deletions

7
buf.yaml Normal file

@ -0,0 +1,7 @@
version: v1
lint:
use:
- DEFAULT
breaking:
use:
- FILE

@ -10,15 +10,13 @@ package licensing.users.v1;
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1"; option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";
import "google/protobuf/empty.proto";
message SignupRequest {} message SignupRequest {}
message SignupResponse {} message SignupResponse {}
message CurrentRequest {}
message CurrentResponse {} message CurrentResponse {}
service UserService { service UserService {
rpc Signup(SignupRequest) returns (SignupResponse); rpc Signup(SignupRequest) returns (SignupResponse);
rpc Current(CurrentRequest) returns (CurrentResponse);
rpc Current(google.protobuf.Empty) returns (CurrentResponse);
} }