Skip to content

Commit

Permalink
Refactors sample grpc-ping app
Browse files Browse the repository at this point in the history
  • Loading branch information
bsnchan committed Jun 5, 2018
1 parent c148705 commit a1ca113
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sample/grpc-ping/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = ["grpc-ping.go"],
importpath = "github.com/elafros/elafros/sample/grpc-ping/server",
importpath = "github.com/elafros/elafros/sample/grpc-ping",
visibility = ["//visibility:private"],
deps = [
"//sample/grpc-ping/proto:go_default_library",
Expand Down
1 change: 0 additions & 1 deletion sample/grpc-ping/grpc-ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ var port = 8080
type pingServer struct {
}

// GetFeature returns the feature at the given point.
func (p *pingServer) Ping(ctx context.Context, req *ping.Request) (*ping.Response, error) {
return &ping.Response{Msg: fmt.Sprintf("%s - pong", req.Msg)}, nil
}
Expand Down

0 comments on commit a1ca113

Please sign in to comment.