venkit provides a package of various components in golang for programmers to use.
go get github.com/superwhys/venkit/v2
The packaged components are:
- flags
- lg
- redis
- mysql
- sqlite
- gorm
- consul
- gin
- qmgo
- http
And a variety of commonly used function tools:
- vutils
- slices
- cache
- timeutils
And a simple service framework:
- service
- discover
- vflags
For the usage of each package component, see example
or xxxx_test.go
under the component directory