Categorygithub.com/hq-cml/go-case
module
0.0.0-20240218084217-da8eaee5daba
Repository: https://github.com/hq-cml/go-case.git
Documentation: pkg.go.dev

# 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的一些常见操作

# 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
* 关于时间的用法,重点是时区 * 补充: * UTC -- 世界统一时间(约等于已废弃的曾经的GMT),简单理解就是0度经线时间 * CST -- 中国标准时间,东八区时间,北京时间,UTC + 8 * 原则: * 全世界,共享同一个时间戳,只不过因为时区的不同,表现出的时间是不一样的 */.
No description provided by the author