Skip to content

zhulinwei/go-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-demo

# title describe completion
1 hello world 入门 Y
2 value 基本类型 Y
3 variable 变量声明 Y
4 constant 常量 Y
5 for 循环 Y
6 if else 判断 Y
7 switch 切换 Y
8 array 数组 Y
9 slice 切片 Y
10 map 映射 Y
11 range 范围 Y
12 func 函数 Y
13 multiple return value 多返回值 Y
14 variadic function 参数可变函数 Y
15 closure 闭包 Y
16 recursion 递归 Y
17 pointer 指针 Y
18 struct 自定义类型 Y
19 method 方法属性 Y
20 interface 接口 Y
21 error 错误处理 Y
22 goroutine go程 Y
23 channel 通道 Y
24 channel buffer 缓冲通道 Y
25 channel sync 非缓冲通道 Y
26 channel direction 通道约束 Y
27 select 多重通道 Y
28 timeout 超时 Y
29 non block channel operation 无阻塞通道 Y
30 close channel 关闭通道 Y
31 range channel 通道范围 Y
32 timer 计时器 Y
33 ticker 定时器 Y
34 worker pool 工作池 Y
35 wait group 并发等待 Y
36 rate limit 并发限制 Y
37 atomic counter 原子计数器 Y
38 mutex 互斥锁 Y
39 stateful goroutine 有状态的go程 Y
40 sort 排序 Y
41 sort by function 条件排序 Y
42 panic 错误处理 Y
43 defer 延迟执行 Y
44 collection function 常见的集合函数 Y
45 string function 字符串函数 Y
46 string format 字符串格式化 Y
47 regular expression 正则表达式 Y
48 json json Y
49 date 日期 Y
50 epoch 时间戳 Y
51 date format 日期格式化 Y
52 random number 随机数 Y
53 number parse 数字解析 Y
54 url parse 地址解析 Y
55 sha and hash 哈希 Y
56 base64 encode 编码解码 Y
57 read file 读取文件 Y
58 write file 写入文件 Y
59 line filter 扫描过滤 Y
60 file path 文件路径 Y
61 directory 文件夹操作 Y
62 temporary file and directory 临时文件和文件夹 Y
63 testing 单元测试 Y
64 command line argument 命令行参数 Y
65 command line flag 命令行标志 Y
66 command line subcommand 命令行子命令 Y
67 environ mentvariable 环境变量 Y
68 http client http客户端 Y
69 http server http服务端 Y
70 spawning process 进程上 Y
71 execing process 进程下 Y
72 signal 信号处理 Y
73 exit 退出 Y
74 build with ldflag 变量传递值 Y
75 struct to json 反射实现结构体到json的转换 Y

About

just a go demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages