Skip to content

moment service, include post, comment, reply, like feature.

License

Notifications You must be signed in to change notification settings

go-microservice/moment-service

Repository files navigation

moment-service

Features

  • post
  • comment
  • like

Layer

The application with the following layers:

    1. gRPC Layer: Responsible for handling incoming gRPC requests and returning responses.
    1. Service Layer: Responsible for handling business logic and communicating with the data layer.
    1. Data Layer: Responsible for handling communication with the database or nosql or other external service.

Run

# 运行
make run

Develop

如果中间有修改 proto 文件,需要重新生成 *.pb.go*_grpc.pb.go

# 生成 *.pb.go
make proto

# 生成 *_grpc.pb.go
make grpc

# 生成文档 在 api/index.html 可以直接浏览器查看
make doc

make run

Reference

About

moment service, include post, comment, reply, like feature.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published