1 Star 1 Fork 0

Wang Ningkai / gobyexample

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
examples.txt 1.83 KB
Copy Edit Web IDE Raw Blame History
gorda authored 2020-01-19 21:34 . add context
Hello World
Values->值
Variables->变量
Constants->常量
For->For 循环
If/Else->If/Else 分支
Switch->Switch 分支结构
Arrays->数组
Slices->切片
Maps->Map
Range->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->Timer
Tickers->Ticker
Worker Pools->工作池
WaitGroups->WaitGroup
Rate Limiting->速率限制
Atomic Counters->原子计数器
Mutexes->互斥锁
Stateful Goroutines->状态协程
Sorting->排序
Sorting by Functions->使用函数自定义排序
Panic
Defer
Collection Functions->组合函数
String Functions->字符串函数
String Formatting->字符串格式化
Regular Expressions->正则表达式
JSON
XML
Time->时间
Epoch->时间戳
Time Formatting / Parsing->时间的格式化和解析
Random Numbers->随机数
Number Parsing->数字解析
URL Parsing->URL 解析
SHA1 Hashes->SHA1 哈希
Base64 Encoding->Base64 编码
Reading Files->读文件
Writing Files->写文件
Line Filters->行过滤器
File Paths->文件路径
Directories->目录
Temporary Files and Directories->临时文件和目录
Testing->单元测试
Command-Line Arguments->命令行参数
Command-Line Flags->命令行标志
Command-Line Subcommands->命令行子命令
Environment Variables->环境变量
HTTP Clients->HTTP 客户端
HTTP Servers->HTTP 服务端
Context
Spawning Processes->生成进程
Exec'ing Processes->执行进程
Signals->信号
Exit->退出

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/wangningkai/gobyexample.git
git@gitee.com:wangningkai/gobyexample.git
wangningkai
gobyexample
gobyexample
master

Search