Skip to content

Commit ffb6e31

Browse files
authored
Merge pull request #202 from twitchtv/fix_local_proto_imports
Fix local proto imports
2 parents faf89ec + 7d80300 commit ffb6e31

12 files changed

+1236
-11
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright 2019 Twitch Interactive, Inc. All Rights Reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"). You may not
4+
// use this file except in compliance with the License. A copy of the License is
5+
// located at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// or in the "license" file accompanying this file. This file is distributed on
10+
// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
// express or implied. See the License for the specific language governing
12+
// permissions and limitations under the License.
13+
14+
package importer_local
15+
16+
//go:generate ../../protoc_gen_source_relative.sh importer_local_msgdef.proto
17+
//go:generate ../../protoc_gen_source_relative.sh importer_local.proto

internal/twirptest/importer_local/importer_local.pb.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
syntax = "proto3";
2+
3+
package twirp.internal.twirptest.importer_local;
4+
option go_package = "github.com/twitchtv/twirp/internal/twirptest/importer_local";
5+
6+
import "importer_local_msgdef.proto";
7+
8+
service Svc {
9+
rpc Send(Msg) returns (Msg);
10+
}

0 commit comments

Comments
 (0)