Versions in this module Expand all Collapse all v0 v0.0.1 Apr 5, 2022 Changes in this version + var JWT *jwt.JWT + var Validate *validator.Validate + func Compress(files []*os.File, dest string) error + func DeCompress(zipFile, dest string) error + func GenerateID() string + func GetAuthModel(ctx *gin.Context) request.AuthModel + func InitJWT() + func InitPostgres(config cfg.PostgresConfiguration, debug bool) (db *gorm.DB, err error) + func RandKey(ln int) string + func Return(ctx *gin.Context, data interface{}) + type Lock interface + Unlock func() + type RWLock struct + func NewRWLock() *RWLock + func (r *RWLock) Lock(key string) Lock + func (r *RWLock) RLock(key string) Lock + type RWUnlock struct + func (r *RWUnlock) Unlock() + type UniversalReturn struct + Code string + Data interface{} + Message string + RequestID string + type Unlock struct + func (r *Unlock) Unlock()