- Docker is written in go
- C interop
- Go and garbage collection
- Go Advantages
- Go build for the cloud especially gcp
- Start working with some exercises
- Read this reference step by step, it's too much information A must have!!!
- Format your code please
- Packages and hello world
- Functions by example
- Go to functions and method. Avoid recievers by now A must have!!!
- Alias typing functions
- Defera
- defer io.NewObject().Close()
- What is deferred ?
- defer multiple prints?
- defer sleep combination
- defer io.NewObject().Close()
- Default values? Zero values
- A tricky notation struct Inherit
- How to implement a set Set
- Grouping objects
- Interfaces
- Empty interface
interface{}? == or != toany- Alias typing and functions
- Empty interface
- Pointers and values
- Why this function signature make sense ?
func HandleFunc(pattern string, handler func(ResponseWriter, *Request))
- Sentry example interface and pointers
- Hope you never need this but: Those Who Do Not Learn History Are Doomed To Repeat It.
- Dep
go install, everywhere
- Go modules
- Practice: code two modules , publish the code on github and play with them.
- What happen if you change the version
- Tag a release
go get yourpackage.com
Test, test, test Please consider using this in order to learn testing Learn go with tests Optional BDD
- Fizz buzz
- Palindrome
- Ask for input on a terminal , a file or hard code the value
- Write an API from scratch using echo
- Your endpoints should be able to crud an object
- Your code needs 80 % of test coverage
- You need to mock your db on testing
- Write a cmd application able to call a "public" API
- It should init a session and save requests and responses on a text file
- You can use this API if you are interested in
- Optional use grpc for streaming data
- Mock interview , look for some go expert
- Use this questions to prepare your interview
Coding to the next level Gophercises Exercism CheatSheets Everything you need GoRoadMap GoByExample