Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
3 Commits
3 Commits
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.