# Golang slides

[Goalng slides](https://code-maven.com/slides/golang/)

## TODO

* Explain what is `string(10000)`
* slice of a string text[3:7]

* VSC: get stdin
* VSC: configure command line, and several run modes
* VSC: Debugging Go application

* Tests a simple mathematical function
* What if a test fails? 
* What if we cannot fix a test immediately? (TODO/expect to fail)
* Skip test?




## Testing Notes
{id: testing-notes}

go get github.com/stretchr/testify
to add asserts

* [video](https://www.youtube.com/watch?v=ttKgBttwzrg)
* [video](https://www.youtube.com/watch?v=_B_vCEiO4mA)





## Time

* Introduction + Basics: 60 min incl exercise (if people know how to set up things)
* CLI: ? skipped
* Skeleton: 5 min
* Numbers: 45 min + 45 min exercises
* Boolean: with loop
* Loop: 30 min + 40 min exercises

* Strings: 40 min, probably can be done in less + 30 min exercises
* Arrays: 30 min + at least 1 hour for exercises

* Variables, Constants, Functions: 50 min + 60 min exercise

* Slices: 60 min + 60 min exercise
* Files: 30 min + 60 min exercise
* Maps: 30 min + 60 min exercise
* Struct:
* Flow Control:
* Bitwise:
* Time:
* Formatting:
* Filesystem:

