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 7ab7fd01b5 package nazalog: mkdir 777 5 years ago
pkg package nazalog: mkdir 777 5 years ago
.gitignore Squashed commit of the following: 5 years ago
.travis.yml 添加CI文件 6 years ago
CHANGELOG.md v0.3.0 -> CHANGELOG.md 5 years ago
LICENSE
README.md Squashed commit of the following: 5 years ago
build.sh rm demo/connstat 5 years ago
build_linux.sh 添加 /demo/connstat 用于测试 net.Conn.SetWriteDeadline 的性能开销 6 years ago
go.mod Squashed commit of the following: 5 years ago
test.sh Squashed commit of the following: 5 years ago

README.md


Go语言基础库





        


工程目录说明

pkg/                  ......源码包
    |-- assert/       ......提供了单元测试时的断言功能,减少一些模板代码
    |-- bele/         ......提供了大小端的转换操作
    |-- bininfo/      ......将编译时的 git 版本号时间Go 编译器信息打入程序中
    |-- connection/   ......对 net.Conn 接口的二次封装
    |-- mockserver/   ......模拟一些服务端,用于快速测试其它代码
    |-- mockwriter/   ......模拟 Writer 接口,用于快速测试其它代码
    |-- nazajson/     ......json 操作
    |-- nazalog/      ......日志库
    |-- unique/       ......对象唯一 ID
demo/                 ......示例相关的代码
bin/                  ......可执行文件编译输出目录

依赖

无任何第三方依赖

项目名 naza 由来

本仓库主要用于存放我自己写的一些 Go 基础库代码。目前只服务于我的另一个项目: lal

naza 即哪吒(正确拼音为 nezha我女儿发音读作 naza少一个字母挺好~),希望本仓库以后能像三头六臂,有多种武器的哪吒一样,为我提供多种工具。