ZhangZhihui's Blog  

This is because you didn't register the service. 

 

After adding below code the error disappeared:

    pb.RegisterTodoServiceServer(s, &server{
        d: NewDb(),
    })

 

posted on 2024-04-15 19:18  ZhangZhihuiAAA  阅读(4)  评论(0编辑  收藏  举报