1234567891011121314151617 |
- package main
- import (
- _ "wuyebaoxiuapi/routers"
- "wuyebaoxiuapi/utils"
- "github.com/patrickmn/go-cache"
- "time"
- "github.com/astaxie/beego"
- "wuyebaoxiuapi/initial"
- )
- func main() {
- //println(libs.Md5([]byte("123456"+"i8Nf")))
- initial.Init()
- utils.Che = cache.New(60*time.Minute, 120*time.Minute)
- beego.Run()
- }
|