diff --git a/docs/docs/tutorials/adding_annotations.md b/docs/docs/tutorials/adding_annotations.md index bce9c86791c..dc5d6956881 100644 --- a/docs/docs/tutorials/adding_annotations.md +++ b/docs/docs/tutorials/adding_annotations.md @@ -117,7 +117,9 @@ import ( helloworldpb "github.com/myuser/myrepo/proto/helloworld" ) -type server struct{} +type server struct{ + helloworldpb.UnimplementedGreeterServer +} func NewServer() *server { return &server{}