/common-code-examples

Common Code Examples by Language

Primary LanguageGo

common-code-examples

  • Common Code Examples by Language

Each example file contains:

  1. Interpreted invocation (where applicable)
  2. Import a module or library
  3. Define a variable
  4. Print "hello world"
  5. If, then, else
  6. For loop (iterate)
  7. Define a function
  8. Call a function
  9. Define a class/object
  10. Instantiate a class/object

Development:

  • Additions and Corrections always welcome via Pull Request!