Learning basic Golang in one day
- example01: Show hello world. Try to use golint and gofmt tool.
- example02: Let's write a library and use it from the hello program.
- example03: How to use
if
,switch
andconst
in Go. - example04: How to initializing
constructor
in Go. - example05: Create interface for multiple struct.
- example06: How to use Goroutines in Go, share by communicating.
- example07: Errors handler in Go.
- example08: A type assertion provides access to an interface value.
- example09: Write command line tool in Go.
- example10: Simple http server and show example using gin framework.
- example11: Learn go build constraints.
- example12: Building minimal docker containers for go application.
- example13: Sharing Golang packages to C and Go.
- example14: How to use func in go?
- example15: How to pass slice as function arguments?
- example16: What is init function in Go?
- example17: How to handle json in Go?
- example18: How to write testingin Go?
- example19: Deploy golang app using drone + kubernetes.
- example20: write simple benchmark.
- exmaple21: Simple https-tls server example using mkcert.