mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 13:45:09 +00:00
One
This commit is contained in:
16
blog/comments/handler/comments.go
Normal file
16
blog/comments/handler/comments.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
pb "github.com/micro/services/blog/comments/proto"
|
||||
)
|
||||
|
||||
type Comments struct{}
|
||||
|
||||
// Call is a single request handler called via client.Call or the generated client code
|
||||
func (c *Comments) Save(ctx context.Context, req *pb.Request, rsp *pb.Response) error {
|
||||
logger.Info("Not yet implemented")
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user