Skip to content

The repository is a hands-on introduction to Go using annotated example programs.

Notifications You must be signed in to change notification settings

squaremost/handson-go

Repository files navigation

Hands-on Golang

Are you new in Golang? 😏 This repository is a hands-on introduction to Go using annotated example programs.

  1. Hello World
  2. Values
  3. Variables
  4. Constants
  5. For
  6. If/Else
  7. Switch
  8. Arrays
  9. Slices
  10. Maps
  11. Range
  12. Functions
  13. Multiple Return Values
  14. Variadic Functions
  15. Closures
  16. Recursion
  17. Pointers
  18. Strings and Runes
  19. Structs
  20. Methods
  21. Interfaces
  22. Struct Embedding
  23. Generics
  24. Errors
  25. Goroutines
  26. Channels
  27. Channel Buffering
  28. Channel Synchronization
  29. Channel Directions
  30. Select
  31. Timeouts
  32. Non-Blocking Channel Operations
  33. Closing Channels
  34. Range over Channels
  35. Timers
  36. Tickers
  37. Worker Pools
  38. WaitGroups
  39. Rate Limiting
  40. Atomic Counters
  41. Mutexes
  42. Stateful Goroutines
  43. Sorting
  44. Sorting by Functions
  45. Panic
  46. Defer
  47. Recover
  48. String Functions
  49. String Formatting
  50. Text Templates
  51. Regular Expressions
  52. JSON
  53. XML
  54. Time
  55. Epoch
  56. Time Formatting / Parsing
  57. Random Numbers
  58. Number Parsing
  59. URL Parsing
  60. SHA256 Hashes
  61. Base64 Encoding
  62. Reading Files
  63. Writing Files
  64. Line Filters
  65. File Paths
  66. Directories
  67. Temporary Files and Directories
  68. Embed Directive
  69. Testing and Benchmarking
  70. Command-Line Arguments
  71. Command-Line Flags
  72. Command-Line Subcommands
  73. Environment Variables
  74. HTTP Client
  75. HTTP Server
  76. Context
  77. Spawning Processes
  78. Exec'ing Processes
  79. Signals
  80. Exit

Conclusion

You studied basic syntax and examples in Golang with open-source

Here is some repositories for your guide:

Thank you for looking at this repository. 👋

About

The repository is a hands-on introduction to Go using annotated example programs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages