From d38fbfccf0ee0d16f4b60f3d423ff45155e689f3 Mon Sep 17 00:00:00 2001 From: Mathieu Acthernoene Date: Fri, 16 Dec 2016 16:24:05 +0100 Subject: [PATCH] Remove unsupported imports --- examples/js-grpc/output/user/user_grpc_pb.js | 5 +---- .../{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/js-grpc/output/user/user_grpc_pb.js b/examples/js-grpc/output/user/user_grpc_pb.js index 46f3240..de2f11a 100644 --- a/examples/js-grpc/output/user/user_grpc_pb.js +++ b/examples/js-grpc/output/user/user_grpc_pb.js @@ -1,12 +1,9 @@ - - - // GENERATED CODE -- DO NOT EDIT! + 'use strict'; var grpc = require('grpc'); var user_user_pb = require('../user/user_pb.js'); -var google_api_annotations_pb = require('../google/api/annotations_pb.js'); diff --git a/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl b/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl index e3099e4..756e03d 100644 --- a/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl +++ b/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl @@ -1,12 +1,9 @@ -{{$Package:=.File.Package}} -{{$Service:=.Service}} - // GENERATED CODE -- DO NOT EDIT! +{{$Package:=.File.Package}} 'use strict'; var grpc = require('grpc'); var {{$Package}}_{{$Package}}_pb = require('../{{$Package}}/{{$Package}}_pb.js'); -var google_api_annotations_pb = require('../google/api/annotations_pb.js'); {{range .File.Service}} {{range .Method}}