Library
| 种类 | Go | Java |
|---|---|---|
| 集合 | https://github.com/emirpasic/gods https://github.com/deckarep/golang-set | apache-collections4 |
| 工具 | guava | |
| OrderMap | https://github.com/iancoleman/orderedmap | |
| 内存缓存 | https://github.com/dgraph-io/ristretto https://github.com/allegro/bigcache | Caffeine |
| distributed in-memory immutablekey-value cache | groupcache | |
| 连接池 | HikariCP | |
| Excel | https://github.com/qax-os/excelize | apache-poi |
| CSV | https://pkg.go.dev/encoding/csv | apache-common-csv |
| Http | okhttp | |
| Redis | https://github.com/redis/go-redis | jedis,redisson |
| Kafka | https://github.com/Shopify/sarama | kafka官方 |
| Database | https://github.com/go-sql-driver/mysql https://github.com/jmoiron/sqlx | mybatis |
| Elasticsearch | https://github.com/elastic/go-elasticsearch | |
| 单测 Mock | https://github.com/agiledragon/gomonkeyhttps://github.com/golang/mock | |
| 单测 Unit | ||
| 单测 Assert | https://pkg.go.dev/github.com/stretchr/testify/assert https://github.com/stretchr/testify | |
| 单测 BDD | https://github.com/smartystreets/goconvey | |
| Web框架 | Gin | |
| 异常处理 | https://pkg.go.dev/github.com/pkg/errors | |
| 时间处理 | https://github.com/jinzhu/now | |
| 数字 | https://github.com/shopspring/decimal | |
| 依赖注入 | https://github.com/uber-go/dig | |
| 定时任务 | https://github.com/robfig/cron | |
| 序列化 | https://flatbuffers.dev/ https://github.com/protocolbuffers/protobuf | |
| 网络 | https://pkg.go.dev/net | netty |
| 分布式事务 | TDXA:https://iwiki.woa.com/pages/viewpage.action?pageId=905611335 | |
| 日志 | https://github.com/uber-go/zap | |
| 端口重用 | SO_REUSEPORT:https://github.com/kavu/go_reuseport | |
| tracing | OpenTracing https://github.com/opentracing/opentracing-go | |
| Resiliency | https://github.com/eapache/go-resiliency | |
| 并发原子包 | https://github.com/uber-go/atomic | |
| concurrency | https://github.com/modern-go/concurrent | |
| 反射 | https://github.com/modern-go/reflect2 | |
| yaml | https://github.com/ghodss/yaml | |
| database clustering system | https://github.com/vitessio/vitess | |
| orm | https://github.com/go-gorm/gorm | |
| Faiss计算 | https://github.com/DataIntelligenceCrew/go-faiss | |
| UUID | https://github.com/google/uuid | |
| 日志 | Grafana Loki https://grafana.com/docs/loki/latest/ |
常用
NLP and text segmentation:https://github.com/go-ego/gse
readability:https://github.com/go-shiori/go-readability
TimeNLP:https://github.com/bububa/TimeNLP
Excel: https://github.com/xuri/excelize/v2