mirror of https://github.com/q191201771/naza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.4 KiB
4.4 KiB
工程目录说明
pkg/ ...... 源码包
|-- nazalog/ ...... 日志库
|-- slicebytepool/ ...... []byte 内存池
|-- assert/ ...... 提供了单元测试时的断言功能,减少一些模板代码
|-- nazastring/ ...... string 和 []byte 相关的操作
|-- bininfo/ ...... 将编译时的 git commit 日志,时间,Go 编译器信息打入程序中
|-- bele/ ...... 提供了大小端的转换操作
|-- nazaatomic/ ...... 原子操作
|-- nazajson/ ...... json 操作
|-- taskpool/ ...... 协程池
|-- connection/ ...... 对 net.Conn 接口的二次封装
|-- filebatch/ ...... 文件批处理操作
|-- unique/ ...... 对象唯一 ID
|-- nazamd5/ ...... md5 操作
|-- mockserver/ ...... 模拟一些服务端,用于快速测试其它代码
|-- mockwriter/ ...... 模拟 Writer 接口,用于快速测试其它代码
demo/ ...... 示例相关的代码
bin/ ...... 可执行文件编译输出目录
依赖
无任何第三方依赖
项目名 naza 由来
本仓库主要用于存放我自己写的一些 Go 基础库代码。目前只服务于我的另一个项目: lal
naza 即哪吒(正确拼音为 nezha,我女儿发音读作 naza,少一个字母,挺好~),希望本仓库以后能像三头六臂,有多种武器的哪吒一样,为我提供多种工具。
联系我
欢迎扫码加我微信,进行技术交流或扯淡。
