Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 525 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 525 Bytes

go-practice

Practice in Golang.

Here are some useful golang code snippet for real working.

Practice list

  • middleware for web service. middleware is very useful tools for logging, timing for api.
  • json vs gob vs msgpack vs protobuf in web service
  • do something in time window

TODO list

  • build environment in docker: cgo dependence, dockerfile, ...
  • retry function
  • gRPC vs HTTP restful
  • add milvus
  • add serve react web
  • go template for clean code:
    • auth check