Difference between revisions of "Golang Course"
From OSSCOM
(Created page with "== 01 basics == * Hello World * data types & variables * strings * Call by Value & by Reference * Text output * Functions * Control structures * Exercise: multiplication tabl...") |
|||
Line 1: | Line 1: | ||
− | == 01 basics == | + | == [https://github.com/domano/go-intro-course/blob/master/01_basics.md 01 basics] == |
− | + | ||
* Hello World | * Hello World | ||
* data types & variables | * data types & variables |
Revision as of 17:03, 21 August 2017
Contents
01 basics
- Hello World
- data types & variables
- strings
- Call by Value & by Reference
- Text output
- Functions
- Control structures
- Exercise: multiplication table
02 files
- The os package
- Write into a file
- Exec Example
- Exercise: wc command
- Exercise: cat command
- Exercise: tac command
03 structs and pointers
- Structs
- Pointers
- Pointer and Structs
- Pointer and Slices/Maps
- Exercise: Key-Value store
04 Projectstrcture
- Gopath
- Go Toolchain
- Packages
05 testing
- Tests
- stretchr/testify
- Testing multiple packages
- Coverage
- Data Driven Tests
- Benchmarks
- Exercise: Calculator with tests
- Exercise: Benchmarking the Key-Value store
06 objects and interfaces
- Methods
- Objects
- Embedding
- Overriding
- Interfaces
- Mocking
- Exercise: object oriented Key-Value
- Exercise: Testing with mocks
07 http
- Http Basics
- Handy features of the http package
- http.Client
08 http extended
- TLS & HTTP2 mit Go
- Middleware
- http testing
- Web Frameworks & alternative Router
Videos
- Simplicity is Complicated, Rob Pike
- Concurrency Is Not Parallelism, Rob Pike
- Go Concurrency Patterns, Rob Pike
- Advanced Go Concurrency Patterns, Sameer Ajmani
- Dont Just Check Errors Handle Them Gracefully, Dave Cheney