https://github.com/rwxrob/learngo
Learn Go stuff
https://github.com/rwxrob/learngo
Last synced: 8 months ago
JSON representation
Learn Go stuff
- Host: GitHub
- URL: https://github.com/rwxrob/learngo
- Owner: rwxrob
- License: apache-2.0
- Created: 2023-09-16T17:43:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T19:36:05.000Z (over 2 years ago)
- Last Synced: 2024-10-04T19:44:38.026Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔰 Learn Go - Learn to Code in Go
## Installing Go
Install it however you want, but make sure it is 1.21+. Note that most of the package managers are way behind on the version.
* Run my script ()
* `apt install golang-go`
* `brew install go`
## Sunday, September 24, 2023, 1:41:58PM EDT
* What are "mnemonic mini-projects"?
* What is "polyglot programming"?
* How do I use local module for building?
* How do I declare/assign and use variables inside/outside blocks??
* What are all the different ways to declare and assign variables?
* Are functions types?
* What are the benefits of "strongly typed" languages?
* What is the difference between a variable and constant?
* What is the difference between a parameter and an argument?
* What is a function signature?
* How can I test my code?
* How do example-based tests differ and why would they be preferred?
## Next week
* Command-line arguments
* Environment variables
* Files