golang 工具
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.
 
 
Go to file
q191201771 c6a5fa284f new package consistenthash 5 years ago
demo new package consistenthash 5 years ago
pkg new package consistenthash 5 years ago
.gitignore package filebatch: call back with error 5 years ago
.travis.yml 添加CI文件 6 years ago
CHANGELOG.md v0.4.3 -> CHANGGELOG 5 years ago
LICENSE 1st 6 years ago
README.md new package nazamd5 5 years ago
build.sh add_blog_license: change license content 5 years ago
build_linux.sh 1. new package taskpool 2. package nazalog: refactor 5 years ago
go.mod Squashed commit of the following: 5 years ago
test.sh - demo/add_blog_license 5 years ago

README.md


Go语言基础库





        


工程目录说明

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少一个字母挺好~),希望本仓库以后能像三头六臂,有多种武器的哪吒一样,为我提供多种工具。

联系我

欢迎扫码加我微信,进行技术交流或扯淡。