Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
slmingol
gobyexample.com
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
gobyexample.com
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
gobyexample.com
Topics
examples-go
gobyexample
Resources
Readme
GPL-3.0 license
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
3 Commits
3 Commits
Folders and files
Name
Name
Last commit message
Last commit date
001_hello-world
001_hello-world
002_values
002_values
003_variables
003_variables
004_for
004_for
005_for
005_for
006_if-else
006_if-else
007_switch
007_switch
008_arrays
008_arrays
009_slices
009_slices
010_maps
010_maps
011_range
011_range
012_functions
012_functions
013_multiple-return-values
013_multiple-return-values
014_variadic-functions
014_variadic-functions
015_closures
015_closures
016_recursion
016_recursion
017_pointers
017_pointers
018_structs
018_structs
019_methods
019_methods
020_interfaces
020_interfaces
021_errors
021_errors
022_goroutines
022_goroutines
023_channels
023_channels
024_channel-buffering
024_channel-buffering
025_channel-synchronization
025_channel-synchronization
026_channel-directions
026_channel-directions
027_select
027_select
028_timeouts
028_timeouts
029_non-blocking-channel-opts
029_non-blocking-channel-opts
030_closing-channels
030_closing-channels
031_range-over-channels
031_range-over-channels
032_timers
032_timers
033_tickers
033_tickers
034_worker-pools
034_worker-pools
035_rate-limiting
035_rate-limiting
036_atomic-counters
036_atomic-counters
037_mutexes
037_mutexes
038_stateful-goroutines
038_stateful-goroutines
039_sorting
039_sorting
040_sorting-by-functions
040_sorting-by-functions
041_panic
041_panic
042_defer
042_defer
043_collection-functions
043_collection-functions
044_string-functions
044_string-functions
045_string-formatting
045_string-formatting
046_regular-expressions
046_regular-expressions
047_JSON
047_JSON
048_time
048_time
049_epoch
049_epoch
050_time-formatting-parsing
050_time-formatting-parsing
051_random-numbers
051_random-numbers
052_number-parsing
052_number-parsing
053_url-parsing
053_url-parsing
054_sha1-hashes
054_sha1-hashes
055_base64_encoding
055_base64_encoding
056_reading-files
056_reading-files
057_writing-files
057_writing-files
058_line-filters
058_line-filters
059_command-line-arguments
059_command-line-arguments
060_command-line-flags
060_command-line-flags
061_environment-variables
061_environment-variables
062_spawning-processes
062_spawning-processes
063_exec-processes
063_exec-processes
064_signals
064_signals
065_exit
065_exit
LICENSE
LICENSE
README.md
README.md
View all files
Repository files navigation
README
GPL-3.0 license
More
items
Resources
https://gobyexample.com/
https://tour.golang.org/list
About
gobyexample.com
Topics
examples-go
gobyexample
Resources
Readme
GPL-3.0 license
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.