Bloom Filter
- simple bloom filter based on redis.Captcha
- base64 captcha otp based on redis and base64Captcha.Constant
- constant int64 and uint64.Copierx
- object copier with carbon.I18n
- i18n of different languages based-i18n.Id
- id generator.Idempotent
- api idempotent tool based on redis lua script.Jwt
- jwt token generator based on golang-jwt, used under cinch layout.Log
- simple log wrapper based on kratos log.Middleware
I18n
- simple i18n middleware, used under cinch layout.Tenant
- simpletenant
middleware, used under layout.Trace
- simple trace middleware, set trace-id to response header, used under cinch layout.
Migrate
- db migration based on sql-migrate, only use migrate.Up.Nx
- simple nx lock based on redis.Page
- simple page with gorm, find multiple pieces of data is helpful.Plugins
gorm/filter
- gorm gen tools custom sql query filter.gorm/log
- common/log gorm logger plugin, used to print sql.gorm/tenant
- gorm multi tenant support.
Proto
params
- custom param proto file.
Rabbit
- rabbitmq connection pool based on amqp and turbocookedrabbit.Utils
- useful utils.Worker
- distributed async task worker based on asynq.
forked from go-cinch/common
-
Notifications
You must be signed in to change notification settings - Fork 0
17611290124/common
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Common package
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%