repository
0.0.0-20240218084217-da8eaee5daba
Repository: https://github.com/hq-cml/go-case.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Golang 的一些简单常见case。方便用的时候快速查一下。
1.argument: 命令行参数获取 2.files: 文件读写 3.cmdline: 命令行界面交互 4.concurrency: 并发相关主题,比如:锁等 5.cgo: 交互式开发,go中嵌套c语言 6.closure: 闭包 7.functions: 函数和方法 8.http: http相关 9.interface: 接口 10.json:json相关 11.net:网络相关 12.reflect:反射 13.secure:安全相关,md5 & sha1 14.base-control:基本控制,defer、error、for、panic、switch等等 15.set:利用golang内置的map实现一个set功能 16.customized-map: 定制化map的实现:支持排序的map实现 + 并发安全的map实现 17.IPC: 进程间通信:pipe,signal,socket 18.random:各类随机的生成:整型,字符串... 19.redis:redis的一些常见操作 20.mysql:mysql的一些常见操作