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
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 }}
mmcgrana
/
gobyexample
Public
Notifications
You must be signed in to change notification settings
Fork
1.4k
Star
8.2k
Code
Issues
11
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
gobyexample
/
examples
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
gobyexample
/
examples
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
arrays
arrays
atomic-counters
atomic-counters
base64-encoding
base64-encoding
channel-buffering
channel-buffering
channel-directions
channel-directions
channel-synchronization
channel-synchronization
channels
channels
closing-channels
closing-channels
closures
closures
command-line-arguments
command-line-arguments
command-line-flags
command-line-flags
command-line-subcommands
command-line-subcommands
constants
constants
context
context
custom-errors
custom-errors
defer
defer
directories
directories
embed-directive
embed-directive
enums
enums
environment-variables
environment-variables
epoch
epoch
errors
errors
execing-processes
execing-processes
exit
exit
file-paths
file-paths
for
for
functions
functions
generics
generics
goroutines
goroutines
hello-world
hello-world
http-client
http-client
http-server
http-server
if-else
if-else
interfaces
interfaces
json
json
line-filters
line-filters
logging
logging
maps
maps
methods
methods
multiple-return-values
multiple-return-values
mutexes
mutexes
non-blocking-channel-operations
non-blocking-channel-operations
number-parsing
number-parsing
panic
panic
pointers
pointers
random-numbers
random-numbers
range-over-built-in-types
range-over-built-in-types
range-over-channels
range-over-channels
range-over-iterators
range-over-iterators
rate-limiting
rate-limiting
reading-files
reading-files
recover
recover
recursion
recursion
regular-expressions
regular-expressions
select
select
sha256-hashes
sha256-hashes
signals
signals
slices
slices
sorting-by-functions
sorting-by-functions
sorting
sorting
spawning-processes
spawning-processes
stateful-goroutines
stateful-goroutines
string-formatting
string-formatting
string-functions
string-functions
strings-and-runes
strings-and-runes
struct-embedding
struct-embedding
structs
structs
switch
switch
tcp-server
tcp-server
temporary-files-and-directories
temporary-files-and-directories
testing-and-benchmarking
testing-and-benchmarking
text-templates
text-templates
tickers
tickers
time-formatting-parsing
time-formatting-parsing
time
time
timeouts
timeouts
timers
timers
url-parsing
url-parsing
values
values
variables
variables
variadic-functions
variadic-functions
waitgroups
waitgroups
worker-pools
worker-pools
writing-files
writing-files
xml
xml
View all files
You can’t perform that action at this time.