alljustafavor / go-by-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go by Example Tutorials

Go is an open source programming language designed for building simple, fast, and reliable software. Please read the official documentation to learn a bit about Go code, tools packages, and modules.

Go by Example is a hands-on introduction to Go using annotated example programs. Check out the first example or browse the full list below.

Why I'm Learning Go

I'm learning Go for backend development because it's known for its speed, reliability, and excellent support for concurrency. These characteristics make Go a great choice for modern, scalable applications.

Table of Contents

  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. Logging
  75. HTTP Client
  76. HTTP Server
  77. Context
  78. Spawning Processes
  79. Exec'ing Processes
  80. Signals
  81. Exit

About


Languages

Language:Go 100.0%