main.go 317 B

1234567891011121314151617
  1. package main
  2. import (
  3. _ "wuyebaoxiuapi/routers"
  4. "wuyebaoxiuapi/utils"
  5. "github.com/patrickmn/go-cache"
  6. "time"
  7. "github.com/astaxie/beego"
  8. "wuyebaoxiuapi/initial"
  9. )
  10. func main() {
  11. //println(libs.Md5([]byte("123456"+"i8Nf")))
  12. initial.Init()
  13. utils.Che = cache.New(60*time.Minute, 120*time.Minute)
  14. beego.Run()
  15. }