- post
- comment
- like
The application with the following layers:
-
- gRPC Layer: Responsible for handling incoming gRPC requests and returning responses.
-
- Service Layer: Responsible for handling business logic and communicating with the data layer.
-
- Data Layer: Responsible for handling communication with the database or nosql or other external service.
go build
./moment-service -c=config
make grpc
- https://medium.com/@leoantony102/how-i-made-twitter-back-end-57addbaa14f5
- https://mp.weixin.qq.com/s/ov1UPkhjIti0QuHdxm2t9Q
- https://dsysd-dev.medium.com/stop-using-dtos-in-go-its-not-java-96ef4794481a
- https://github.com/0voice/from_coder_to_expert/blob/master/%E5%BE%AE%E5%8D%9A.%E5%A4%A7%E6%95%B0%E6%8D%AE%E6%97%B6%E4%BB%A3feed%E6%9E%B6%E6%9E%84_TimYang_ArchSummit_Beijing_2014.pdf