View Code? Open in Web Editor
NEW
This project forked from eaglerayp/gotutorials
gotutorials-1's Introduction
- hw* are the folder for voluntary homework, can write the project under hw*/ and send merge request for peer review.
- Env setup
- DEV env setup (VSCode + linter + tools)
- go test
- go mod
- tips
- golang coding convention
- golang package template
- go example on go routines, channels
- library exported concept
- common libraries
- go context
- go unit test
- go benchmark
- go debug
- go profiling
- create a gin api server with middleware.
- extension: using any mongodb driver to create a CRUD api
- split package from simple main.go, standardlize golang project layout
- try
go mod
- try
context
timeout and using in a gin timeout api.
- create a handler sleep 30 seconds, but return timeout error response in 15 seconds.
gotutorials-1's People
Contributors