/learngo

Learn Go stuff

Primary LanguageGoApache License 2.0Apache-2.0

🔰 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.

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