go1
Covering all basics of Go by writing practical running code.
Prerequisite: basic knowledge of c programming language as go is very similar to c in syhtax & pointers
This repo go1 contains:
- Basic syntaxt of go viz: variables, pointer, basic data type, composite datatype array slice maps structure
- print the data using printf / sprintf
- function & methods
- how to do send get & post request to web with timeout and print the data to STDOUT
- build http server using gin (as well as using inbuild go library) to handle get post delete update APIs
- send local HTML files to user on hitting localhost:port/index.html
- handle json marshal (convert object to json) & unmarshal (convert recieved json from web to object), validate json, json tagging
- read OS environment variable
- handle URL parameter URL query & URL grouping
- go orm = gorm for DB connection & DAO layer to communicate with DB
- connect and read kafka
- add caching layer
- unit testing