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}}