Embed "Unimplemented" structs as proto recommended
Embedding these structs will be mandatory after migratring off from gogo/protobuf (see #6564). Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
@@ -62,6 +62,7 @@ func init() {
|
||||
|
||||
type server struct {
|
||||
local api.IntrospectionClient
|
||||
api.UnimplementedIntrospectionServer
|
||||
}
|
||||
|
||||
var _ = (api.IntrospectionServer)(&server{})
|
||||
|
||||
Reference in New Issue
Block a user