Go by Example - Kor Edition
Go언어는 프로그램을 단순하게 작성하고, 빠르고, 안정적인
오픈소스 프로그래밍 언어입니다.
Go by Example(영문)은 예제를 통해서 빠르게 Go
언어를
학습할 수 있는 사이트 입니다.
본 문서는 원문의 예제를 한국어로 변환함과 동시에 필자의 개인적인 설명이 추가된
문서입니다.
본 문서에서는 다음과 같은 예제로 구성되어 있습니다.
Hello World
Values
Variables
Constants
For
If/Else
Switch
Arrays
Slices
Maps
Range
Functions
Multiple Return Values
Variadic Functions
Closures
Recursion
Pointers
Structs
Methods
Interfaces
Errors
Goroutines
Channels
Channel Buffering
Channel Synchronization
Channel Directions
Select
Timeouts
Non-Blocking Channel Operations
Closing Channels
Range over Channels
Timers
Tickers
Worker Pools
Rate Limiting
Atomic Counters
Mutexes
Stateful Goroutines
Sorting
Sorting by Functions
Panic
Defer
Collection Functions
String Functions
String Formatting
Regular Expressions
JSON
Time
Epoch
Time Formatting / Parsing
Random Numbers
Number Parsing
URL Parsing
SHA1 Hashes
Base64 Encoding
Reading Files
Writing Files
Line Filters
Command-Line Arguments
Command-Line Flags
Environment Variables
Spawning Processes
Exec'ing Processes
Signals
Exit