Skip to content

xpzouying/go-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages