wrap

module
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2020 License: MIT

README

wrap

wrap for me.

modules

wraps : factories for instances
  1. wraps.GetMysql
  2. wraps.GetRedis
  3. wraps.GetOss
  4. wraps.GetRequest
  5. wraps.GetCall
utils
  1. encryptutil
  2. fileutil
  3. hashutil
  4. imageutil
  5. lru
  6. mathutil
  7. netutil
  8. nutil for number
  9. osutil
  10. sqlutil
  11. strngutil
  12. sutil for struct
  13. timeutil
wrapiris : for iris
package main

### wraplog : for logging

### errs : common errs
```go
type Err struct {
	State     int         //0:ok ,other:error
	Data      interface{} 
	Message   string      
	Pkg       string
	Module    string 
	Err       error  //source error
	UserError bool   //user error or system error
}

Architecture

Architecture

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL