q191201771 / Naza
Licence: mit
🍀 Go basic library. || Go语言基础库
Stars: ✭ 253
Programming Languages
go
31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Naza
Xlog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.
Stars: ✭ 2,468 (+875.49%)
Mutual labels: json, log, file
Blooddy crypto
ActionScript (AS3) library for processing binary data. This library contains MD5, SHA-1, SHA-2 ( SHA-224 и SHA-256 ), Base64, CRC32 algorithms, JSON encoder & decoder as well as PNG and JPEG encoders.
Stars: ✭ 83 (-67.19%)
Mutual labels: md5, json
Lazer Database
PHP flat file database to store data with JSON
Stars: ✭ 254 (+0.4%)
Mutual labels: json, file
Sensitive
🔐Sensitive log tool for java, based on java annotation. (基于注解的 java 日志脱敏框架,更加优雅的日志打印)
Stars: ✭ 200 (-20.95%)
Mutual labels: json, log
Filecontextcore
FileContextCore is a "Database"-Provider for Entity Framework Core and adds the ability to store information in files instead of being limited to databases.
Stars: ✭ 91 (-64.03%)
Mutual labels: json, file
aushape
A library and a tool for converting audit logs to XML and JSON
Stars: ✭ 37 (-85.38%)
Mutual labels: log, file
Co
Art of C++. Flag, logging, unit-test, json, go-style coroutine and more.
Stars: ✭ 2,264 (+794.86%)
Mutual labels: json, log
Filemasta
A search application to explore, discover and share online files
Stars: ✭ 571 (+125.69%)
Mutual labels: json, file
Boltons
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
Stars: ✭ 5,671 (+2141.5%)
Mutual labels: json, file
java-sdk
一些常用的java sdk和工具类(日期工具类,分布式锁,redis缓存,二叉树,反射工具类,线程池,对称/非对称/分段加解密,json序列化,http工具,雪花算法,字符串相似度,集合操作工具,xml解析,重试Retry工具类,Jvm监控等)
Stars: ✭ 26 (-89.72%)
Mutual labels: snowflake, md5
工程目录说明
pkg/ ...... 源码包
|-- bininfo/ ...... 将编译时源码的git版本信息(当前commit log的sha值和commit message),编译时间,Go版本,平台打入程序中
|-- nazalog/ ...... 日志库
|-- assert/ ...... 提供了单元测试时的断言功能,减少一些模板代码
|-- nazaerrors/ ...... error相关
|-- fake/ ...... 实现一些常用的接口,hook一些不方便测试的代码
|-- taskpool/ ...... 非阻塞协程池,协程数量可动态增长,可配置最大协程并发数量,可手动释放空闲的协程
|-- defertaskthread ...... 执行延时任务
|-- bele/ ...... 大小端转换操作
|-- nazabits/ ...... 位操作
|-- bitrate/ ...... 计算带宽
|-- ratelimit/ ...... 限流器,令牌桶,漏桶
|-- connection/ ...... 对net.Conn接口的二次封装
|-- nazanet/ ...... socket操作相关
|-- nazahttp/ ...... http操作
|-- circularqueue ...... 底层基于切片实现的固定容量大小的FIFO的环形队列
|-- lru/ ...... LRU缓存
|-- consistenthash/ ...... 一致性哈希
|-- nazajson/ ...... json操作
|-- nazamd5/ ...... md5操作
|-- nazaatomic/ ...... 原子操作
|-- slicebytepool/ ...... []byte内存池
|-- nazastring/ ...... string和[]byte相关的操作
|-- unique/ ...... 对象唯一ID
|-- snowflake/ ...... 分布式唯一性ID生成器
|-- nazareflect/ ...... 利用反射做的一些操作
|-- filebatch/ ...... 文件批处理操作
|-- ic/ ...... 将整型切片压缩成二进制字节切片
playground/ ...... Go实验代码片段
demo/ ...... 示例相关的代码
bin/ ...... 可执行文件编译输出目录
依赖
无任何第三方依赖
相关文档
-
pkg/snowflake 分布式ID生成算法snowflake介绍及Go语言实现
-
pkg/bininfo 给Go程序加入编译版本时间等信息
-
pkg/nazastring Go语言中[]byte和string类型相互转换时的性能分析和优化
-
playground/p3 利用CPU cache特性优化Go程序
-
playground/p4 老弟在吗,我的Go标准库中的二分查找有bug!
联系我
欢迎扫码加我微信,进行技术交流或扯淡。

项目名 naza 由来
本仓库主要用于存放我自己写的一些 Go 基础库代码。目前主要服务于我的另一个项目: lal
naza 即哪吒(正确拼音为 nezha,我女儿发音读作 naza,少一个字母,挺好~),希望本仓库以后能像三头六臂,有多种武器的哪吒一样,为我提供一个趁手的工具箱。
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].