Skip to content

Fresh install no longer generates necessary google/api/annotations.pb.go & google/api/http.pb.go files. #327

Closed
@marcusljx

Description

Fresh install no longer generates necessary google/api/annotations.pb.go & google/api/http.pb.go files.

Action

go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go

generate a proto project someproject.pb.go file, which contains

import _ "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api"

Expected
annotations.pb.go and http.pb.go generated successfully in github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api, and compilation completes properly.

Actual
Files not generated, and compilation fails with the error:

...../grpc-gateway/third_party/googleapis/google/api' has no buildable Go source files.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions