Skip to content

Commit

Permalink
Merge pull request #202 from twitchtv/fix_local_proto_imports
Browse files Browse the repository at this point in the history
Fix local proto imports
  • Loading branch information
dpolansky authored May 11, 2020
2 parents faf89ec + 7d80300 commit ffb6e31
Show file tree
Hide file tree
Showing 12 changed files with 1,236 additions and 11 deletions.
17 changes: 17 additions & 0 deletions internal/twirptest/importer_local/gen.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2019 Twitch Interactive, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may not
// use this file except in compliance with the License. A copy of the License is
// located at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// or in the "license" file accompanying this file. This file is distributed on
// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

package importer_local

//go:generate ../../protoc_gen_source_relative.sh importer_local_msgdef.proto
//go:generate ../../protoc_gen_source_relative.sh importer_local.proto
37 changes: 37 additions & 0 deletions internal/twirptest/importer_local/importer_local.pb.go

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

10 changes: 10 additions & 0 deletions internal/twirptest/importer_local/importer_local.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syntax = "proto3";

package twirp.internal.twirptest.importer_local;
option go_package = "github.com/twitchtv/twirp/internal/twirptest/importer_local";

import "importer_local_msgdef.proto";

service Svc {
rpc Send(Msg) returns (Msg);
}
Loading

0 comments on commit ffb6e31

Please sign in to comment.