diff --git a/.gitignore b/.gitignore index 729ef04d3a2e87dac7af6879cd7239d8843dfd96..3359aaea8d307655f299f30c269ed81fbd208c16 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ temp/ responses/upload responses/store .env +consts.go \ No newline at end of file diff --git a/config/app.json b/config/app.json new file mode 100644 index 0000000000000000000000000000000000000000..77c1c65728a95e5a0ee0221e48acddd3a2edbce7 --- /dev/null +++ b/config/app.json @@ -0,0 +1,17 @@ +{ + "app_name": "edu-mentality-health", + "app_mode": "release", + "app_host": "localhost", + "app_port": "9099", + "database": { + "driver": "mysql", + "user": "root", + "password": "ROOT", + "host": "127.0.0.1", + "port": "3306", + "db_name": "edu-mentality-health", + "charset": "utf8", + "show_sql": true + } +} + diff --git a/controller/BaseController.go b/controller/BaseController.go new file mode 100644 index 0000000000000000000000000000000000000000..63704b2079fdc16c2974d958af74e4babd29f378 --- /dev/null +++ b/controller/BaseController.go @@ -0,0 +1,29 @@ +package controller + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/middleware" + "fmt" + "github.com/gin-contrib/sessions" + "github.com/gin-gonic/gin" +) + +type BaseController struct { + IsLogin bool + LoginUser interface{} +} + +// 本来想设计session拦截器,把没登录的用户拦截,不能进行请求,不会,算了 +func (h *BaseController) Router(engine *gin.Engine) { // 接收请求 + //h.Hello()方法处理这个请求, + engine.GET("/base", h.IsLogined) +} + +func (h *BaseController) IsLogined(ctx *gin.Context) { + consts.Session = sessions.Default(ctx) + consts.Session.Set("user", "helloWorld") + middleware.IsLogin(ctx) + // session的使用 全局的 + + fmt.Println(consts.Session.Get("user")) +} diff --git a/controller/healthProject.go b/controller/healthProject.go new file mode 100644 index 0000000000000000000000000000000000000000..f94cf445313f3c43aa22ad008d1cd21136877466 --- /dev/null +++ b/controller/healthProject.go @@ -0,0 +1,114 @@ +package controller + +import ( + "edu-mentality-health/service" + "edu-mentality-health/tools" + "fmt" + "github.com/gin-gonic/gin" + "net/http" +) + +type HealthProjectController struct { +} + +func (c *HealthProjectController) Router(engine *gin.Engine) { // 接收请求 + + engine.GET("/blessing", c.Blessing) + engine.GET("/emotion", c.Emotion) + engine.POST("/anime", c.ManAnime) + engine.POST("/style_trans", c.StyleTrans) + engine.GET("/teachers", c.Teachers) + +} + +// Blessing 祝福语生成 +func (c *HealthProjectController) Blessing(ctx *gin.Context) { // 解析hello请求 + //context.HTML(http.StatusOK, "index.html", gin.H{}) + content, _ := ctx.GetQuery("content") + healthProject := service.HealthProject{} + + result, err := healthProject.Blessing(content) + if err != nil { + ctx.Writer.WriteString(err.Error()) + } + + ctx.Writer.WriteString(result) +} + +// Emotion 情绪分析 +func (c *HealthProjectController) Emotion(ctx *gin.Context) { + content, _ := ctx.GetQuery("content") + healthProject := service.HealthProject{} + + result, err := healthProject.Emotion(content) + if err != nil { + ctx.Writer.WriteString(err.Error()) + } + + ctx.Writer.WriteString(result) +} + +// ManAnime 人物动漫化 +func (c *HealthProjectController) ManAnime(ctx *gin.Context) { + // 获取前端传递数据 + file, err := ctx.FormFile("pic") + mask, _ := ctx.GetPostForm("mask") + if err != nil { + ctx.JSON(http.StatusBadRequest, gin.H{ + "error": err.Error(), + }) + } + + // 是否戴口罩 + options := map[string]string{} + if mask == "yes" { + options["type"] = "anime_mask" + } else if mask == "no" { + options["type"] = "anime" + } + + imgData := tools.FileToBase64(ctx, file) + + healthProject := service.HealthProject{} + result, err := healthProject.ManAnime(imgData, options) + + ctx.Writer.WriteString(result) +} + +// StyleTrans 风格转换 +func (c *HealthProjectController) StyleTrans(ctx *gin.Context) { + fmt.Println("我是风格转换") + // 获取前端传递数据 + file, err := ctx.FormFile("pic") + if err != nil { + ctx.JSON(http.StatusBadRequest, gin.H{ + "error": err.Error(), + }) + } + + option, _ := ctx.GetPostForm("option") + optionData := map[string]string{ + "option": option, + } + + imageData := tools.FileToBase64(ctx, file) + + healthProject := service.HealthProject{} + result, err := healthProject.StyleTrans(imageData, optionData) + + // 直接输出字符串 (可能需要转换成base64编码) + ctx.Writer.WriteString(result) +} + +// Teachers 获取心理老师列表 +func (c *HealthProjectController) Teachers(ctx *gin.Context) { + teacherService := service.Teacher{} + + // teacherService.GetTeacherById(10001) + result, err := teacherService.QueryTeacherList() + + ctx.JSON(http.StatusOK, gin.H{ + "error": err, + "data": result, + }) +} diff --git a/controller/healthTest.go b/controller/healthTest.go new file mode 100644 index 0000000000000000000000000000000000000000..585a8695086a2a649c21dd5754d3d38f4046975a --- /dev/null +++ b/controller/healthTest.go @@ -0,0 +1,157 @@ +package controller + +import ( + "edu-mentality-health/param" + "edu-mentality-health/service" + "fmt" + "github.com/gin-gonic/gin" + "net/http" + "strconv" +) + +/* + 健康测试 +*/ + +type HealthTestController struct { +} + +func (c *HealthTestController) Router(engine *gin.Engine) { // 接收请求 + engine.POST("/bmr", c.Bmr) + engine.POST("/calorie", c.Calorie) + engine.POST("/bfr", c.Bfr) + + engine.GET("/fapig", c.FaPig) + engine.GET("/bmi", c.Bmi) + +} + +// Bmr 基础代谢率 +func (c *HealthTestController) Bmr(ctx *gin.Context) { + fmt.Println("我是基础代谢率") + height, _ := ctx.GetPostForm("height") + weight, _ := ctx.GetPostForm("weight") + age, _ := ctx.GetPostForm("age") + sex, _ := ctx.GetPostForm("sex") + + info := param.Bmr{ + Height: height, + Weight: weight, + } + + sexInt, _ := strconv.Atoi(sex) + ageInt, _ := strconv.Atoi(age) + + info.Sex = sexInt + info.Age = ageInt + + client := service.HealthTest{} + result := client.Bmr(info) + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} + +// Bmi 标准身高体重计算器 +func (c *HealthTestController) Bmi(ctx *gin.Context) { + fmt.Println("我是基础代谢率") + height, _ := ctx.GetQuery("height") + weight, _ := ctx.GetQuery("weight") + sex, _ := ctx.GetQuery("sex") + role, _ := ctx.GetQuery("role") + + info := param.BmiReq{ + Height: height, + Weight: weight, + } + + sexInt, _ := strconv.Atoi(sex) + roleInt, _ := strconv.Atoi(role) + + info.Sex = sexInt + info.Role = roleInt + + client := service.HealthTest{} + result := client.Bmi(info) + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} + +// Calorie 卡路里测试 +func (c *HealthTestController) Calorie(ctx *gin.Context) { + fmt.Println("我是卡路里测试") + height, _ := ctx.GetPostForm("height") + weight, _ := ctx.GetPostForm("weight") + age, _ := ctx.GetPostForm("age") + sex, _ := ctx.GetPostForm("sex") + level, _ := ctx.GetPostForm("level") + + info := param.Bmr{ + Height: height, + Weight: weight, + } + + sexInt, _ := strconv.Atoi(sex) + ageInt, _ := strconv.Atoi(age) + levelInt, _ := strconv.Atoi(level) + + info.Sex = sexInt + info.Age = ageInt + info.Level = levelInt + + client := service.HealthTest{} + result := client.Calorie(info) + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} + +// Bfr 体脂率计算 +func (c *HealthTestController) Bfr(ctx *gin.Context) { + fmt.Println("我是体脂率计算") + + weight, _ := ctx.GetPostForm("weight") + waistline, _ := ctx.GetPostForm("waistline") + sex, _ := ctx.GetPostForm("sex") + + info := param.Bmr{ + Weight: weight, + } + sexInt, _ := strconv.Atoi(sex) + + waistlineFloat, _ := strconv.Atoi(waistline) + + info.Waistline = waistlineFloat + info.Sex = sexInt + + client := service.HealthTest{} + result := client.Bfr(info) + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} + +// FaPig 最佳身材比例 +func (c *HealthTestController) FaPig(ctx *gin.Context) { + fmt.Println("最佳身材比例") + text, _ := ctx.GetQuery("text") + + client := service.HealthTest{} + result := client.FaPig(text) + + fmt.Println("是否成功啦:" + result.Reason) + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} diff --git a/controller/helloController.go b/controller/helloController.go new file mode 100644 index 0000000000000000000000000000000000000000..c38254eb9a748582448c1e3990747601fda500e8 --- /dev/null +++ b/controller/helloController.go @@ -0,0 +1,27 @@ +package controller + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/middleware" + "fmt" + "github.com/gin-gonic/gin" +) + +type HelloController struct { +} + +func (h *HelloController) Router(engine *gin.Engine) { // 接收请求 + //h.Hello()方法处理这个请求, + engine.GET("/hello", h.Hello) +} + +func (h *HelloController) Hello(ctx *gin.Context) { // 解析hello请求 + middleware.IsLogin(ctx) + // session的使用 全局的 + + fmt.Println(consts.Session.Get("user")) + //返回值设置 + ctx.JSON(200, map[string]interface{}{ + "message": "hello edu-mentality-health!", + }) +} diff --git a/controller/index.go b/controller/index.go new file mode 100644 index 0000000000000000000000000000000000000000..551b44875885ded08083646a0af3db63cf6193a6 --- /dev/null +++ b/controller/index.go @@ -0,0 +1,25 @@ +package controller + +import ( + "github.com/gin-gonic/gin" + "net/http" +) + +type IndexController struct { +} + +func (h *IndexController) Router(engine *gin.Engine) { // 接收请求 + engine.GET("/", h.Index) + engine.GET("/index", h.Index) +} + +func (h *IndexController) Index(context *gin.Context) { // 解析hello请求 + //consts.Session = sessions.Default(context) + //consts.Session.Set("hello", "World") + //middleware.IsLogin(context) + // session的使用 全局的 + + // fmt.Println(consts.Session.Get("user")) + + context.HTML(http.StatusOK, "index.html", gin.H{}) +} diff --git a/controller/mentalityTest.go b/controller/mentalityTest.go new file mode 100644 index 0000000000000000000000000000000000000000..7d4036baf293de050e592db39556723793f2d3f7 --- /dev/null +++ b/controller/mentalityTest.go @@ -0,0 +1,49 @@ +package controller + +import ( + "edu-mentality-health/service" + "github.com/gin-gonic/gin" + "net/http" +) + +type MentalityController struct { +} + +func (c *MentalityController) Router(engine *gin.Engine) { // 接收请求 + engine.GET("/questionsTest", c.GetQuestionsTest) + engine.POST("/analysis", c.Analysis) + +} + +// GetQuestionsTest 获取性格测试题目 +func (c *MentalityController) GetQuestionsTest(ctx *gin.Context) { + client := service.MentalityTests{} + + result := client.GetQuestionsTest() + + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": result, + }) +} + +// Analysis 性格测试结果查询 +func (c *MentalityController) Analysis(ctx *gin.Context) { + answers, _ := ctx.GetPostForm("answers") + client := service.MentalityTests{} + + analysisRes := client.Analysis(answers) + client.Analysis(answers) + + //ctx.HTML(http.StatusOK, "analysis.html", gin.H{ + // "error": nil, + // "data": analysisRes, + // "path": ctx.FullPath(), + //}) + + //ctx.Redirect(http.StatusMovedPermanently, "/analysis.html") + ctx.JSON(http.StatusOK, gin.H{ + "error": nil, + "data": analysisRes, + }) +} diff --git a/controller/student.go b/controller/student.go new file mode 100644 index 0000000000000000000000000000000000000000..3f23a6bd4198aa73f6a8ef10261dda410cb08e4d --- /dev/null +++ b/controller/student.go @@ -0,0 +1,34 @@ +package controller + +import ( + "edu-mentality-health/model" + "edu-mentality-health/service" + "fmt" + "github.com/gin-gonic/gin" + "net/http" +) + +type StudentController struct { +} + +func (s *StudentController) Router(engine *gin.Engine) { + engine.POST("/makes", s.Makes) +} + +// Makes 预约心理老师 +func (s *StudentController) Makes(ctx *gin.Context) { + var info model.Makes + + ctx.ShouldBind(&info) + + fmt.Println(info) + + student := service.Student{} + + result, err := student.Makes(info) + + ctx.HTML(http.StatusOK, "mentalityTeacher.html", gin.H{ + "error": err, + "data": result, + }) +} diff --git a/controller/toPage.go b/controller/toPage.go new file mode 100644 index 0000000000000000000000000000000000000000..faa27a0467f0fdd86c174511cdbef7a69f9a345e --- /dev/null +++ b/controller/toPage.go @@ -0,0 +1,76 @@ +package controller + +import ( + "fmt" + "github.com/gin-gonic/gin" + "net/http" + "strings" +) + +type ToPageController struct { +} + +func (h *ToPageController) Router(engine *gin.Engine) { // 接收请求 + // 公共 + engine.GET("/nav-top.html", h.Page) + engine.GET("/footer.html", h.Page) + engine.GET("/login.html", h.Page) + engine.GET("/register.html", h.Page) + + // 预约 + engine.GET("/makes.html", h.Page) + + // 身体健康测试 + engine.GET("/fapig.html", h.Page) + engine.GET("/bmr.html", h.Page) + engine.GET("/bmi.html", h.Page) + engine.GET("/viewMore.html", h.Page) + + // 健康测试 + engine.GET("/questions.html", h.Page) + engine.GET("/analysis.html", h.Page) + engine.GET("/mentalityTest01.html", h.Page) + engine.GET("/mentalityTest02.html", h.Page) + engine.GET("/mentalityTest03.html", h.Page) + engine.GET("/viewMoreTest.html", h.Page) + + // 健康文章 + engine.GET("/news1.html", h.Page) + engine.GET("/news2.html", h.Page) + engine.GET("/news3.html", h.Page) + engine.GET("/moreNews.html", h.Page) + + // 健康饮食 + engine.GET("/lowFatFruits.html", h.Page) + engine.GET("/lowCarbStapleFood.html", h.Page) + engine.GET("/lowCalorieBreakfast.html", h.Page) + engine.GET("/highProteinFood.html", h.Page) + engine.GET("/otherEat.html", h.Page) + + // 减压大本营 + engine.GET("/emotion.html", h.Page) + engine.GET("/blessing.html", h.Page) + engine.GET("/man_anime.html", h.Page) + engine.GET("/style_adc.html", h.Page) + engine.GET("/treeHole.html", h.Page) + engine.GET("/mentalityTeacher.html", h.Page) + engine.GET("/viewMorePro.html", h.Page) + + // 个人中心 + engine.GET("my.html", h.Page) + engine.GET("myStar.html", h.Page) + + //engine.GET(".html", h.Page) + //engine.GET(".html", h.Page) + //engine.GET(".html", h.Page) + //engine.GET(".html", h.Page) + //engine.GET(".html", h.Page) +} + +func (h *ToPageController) Page(context *gin.Context) { // 解析hello请求 + url := strings.Replace(context.FullPath(), "/", "", 1) + + fmt.Println(url) + + context.HTML(http.StatusOK, url, gin.H{}) +} diff --git a/controller/user.go b/controller/user.go new file mode 100644 index 0000000000000000000000000000000000000000..ebf1c2f28055ba652d44584c6a0538048209de3f --- /dev/null +++ b/controller/user.go @@ -0,0 +1,101 @@ +package controller + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/model" + "edu-mentality-health/service" + "fmt" + "github.com/gin-contrib/sessions" + "github.com/gin-gonic/gin" + "net/http" +) + +type UserController struct { +} + +func (c *UserController) Router(engine *gin.Engine) { // 接收请求 + //h.Hello()方法处理这个请求, + engine.POST("/login", c.Login) + engine.POST("/register", c.Register) + engine.GET("/myself", c.MySelf) + engine.POST("/myStar", c.MyStar) + +} + +// Login 登录 +func (c *UserController) Login(ctx *gin.Context) { + name := ctx.PostForm("name") + pwd := ctx.PostForm("password") + + app := gin.Default() + + app.LoadHTMLGlob("./views/**/*") + + userSerive := service.User{} + + user, err := userSerive.Login(name, pwd) + + ctx.HTML(http.StatusOK, "index.html", gin.H{ + "error": err, + "data": user, + }) + // 登录成后可以设置Session + consts.Session = sessions.Default(ctx) + + consts.Session.Set("user", user.Name) + consts.Session.Set("userId", user.Id) + + fmt.Println("Session用户:", consts.Session.Get("user")) + +} + +// Register 注册 +func (c *UserController) Register(ctx *gin.Context) { + name := ctx.PostForm("name") + pwd := ctx.PostForm("password") + confirmPwd := ctx.PostForm("confirmPassword") + + if pwd != confirmPwd { + ctx.JSON(http.StatusBadRequest, gin.H{ + "error": "两次输入的密码不一致", + "data": nil, + }) + return + } + + userInfo := model.User{ + Name: name, + Password: pwd, + } + + userSerive := service.User{} + + user, err := userSerive.Register(userInfo) + + ctx.HTML(http.StatusOK, "index.html", gin.H{ + "error": err, + "data": user, + }) +} + +// MySelf 个人中心 +func (c *UserController) MySelf(ctx *gin.Context) { + userId := consts.Session.Get("userId") + + user := service.User{} + id := userId.(int64) + userInfo, err := user.GetUserById(id) + + userInfo.Password = "" + + ctx.JSON(http.StatusOK, gin.H{ + "error": err, + "data": userInfo, + }) + +} + +// MyStar 我的收藏 +func (c *UserController) MyStar(ctx *gin.Context) { + +} diff --git a/dao/hello.go b/dao/hello.go new file mode 100644 index 0000000000000000000000000000000000000000..07a0cc0fc69fdc13eda603a897b9116884ad9a61 --- /dev/null +++ b/dao/hello.go @@ -0,0 +1 @@ +package dao diff --git a/dao/makes.go b/dao/makes.go new file mode 100644 index 0000000000000000000000000000000000000000..82ff0005bf664b7874432787b0972f22c0136ddb --- /dev/null +++ b/dao/makes.go @@ -0,0 +1,36 @@ +package dao + +import ( + "edu-mentality-health/model" + "edu-mentality-health/tools" +) + +type Makes struct { + *tools.Orm +} + +func NewMakesDao() *Makes { + return &Makes{tools.DBEngine} +} + +// InsertMakes 插入预约纪录 +func (d *Makes) InsertMakes(makes model.Makes) (bool, error) { + result, err := d.InsertOne(&makes) + + if err != nil || result == 0 { + return false, err + } + + return true, nil +} + +// GetMakesById 根据id查询预约纪录 +func (d *Makes) GetMakesById(id int) (res *model.Makes, err error) { + _, err = d.Where("id = ?", id).Get(&res) + + if err != nil { + return nil, err + } + + return res, nil +} diff --git a/dao/teacher.go b/dao/teacher.go new file mode 100644 index 0000000000000000000000000000000000000000..4a493c508cdfb3ad3e32bce21f161e32ce19e41a --- /dev/null +++ b/dao/teacher.go @@ -0,0 +1,50 @@ +package dao + +import ( + "edu-mentality-health/model" + "edu-mentality-health/tools" +) + +type Teacher struct { + *tools.Orm +} + +func NewTeacherDao() *Teacher { + return &Teacher{tools.DBEngine} +} + +// GetTeacherById 根据id查询老师信息 +func (d *Teacher) GetTeacherById(id int) (*model.TeacherInfo, error) { + data := model.TeacherInfo{} + + _, err := d.Where("t_id=?", id).Get(&data) + if err != nil { + return nil, err + } + + return &data, nil +} + +// GetTeacherByName 根据id查询老师信息 +func (d *Teacher) GetTeacherByName(name string) (*model.TeacherInfo, error) { + data := model.TeacherInfo{} + + _, err := d.Where("t_name=?", name).Get(&data) + if err != nil { + return nil, err + } + + return &data, nil +} + +// QueryTeacherList 查询老师信息列表 +func (d *Teacher) QueryTeacherList() ([]*model.TeacherInfo, error) { + data := make([]*model.TeacherInfo, 0) + + err := d.Engine.Find(&data) + if err != nil { + return nil, err + } + + return data, nil +} diff --git a/dao/user.go b/dao/user.go new file mode 100644 index 0000000000000000000000000000000000000000..9aba8b38d63c30d6bd9f991c4050cb8667b4ea75 --- /dev/null +++ b/dao/user.go @@ -0,0 +1,48 @@ +package dao + +import ( + "edu-mentality-health/model" + "edu-mentality-health/tools" + "fmt" +) + +type User struct { + *tools.Orm +} + +// NewUserDao 获取操作数据库的对象 +func NewUserDao() *User { + return &User{tools.DBEngine} +} + +// InsertUser 用户注册 +func (d *User) InsertUser(user model.User) int64 { + // result, err := md.Exec(sql, user.UserName, user.Password, user.RegisterTime) + result, err := d.InsertOne(&user) //返回插入成功的id + + if err != nil { + return 0 + } + return result +} + +// GetUserById 根据id查询用户 +func (d *User) GetUserById(id int64) (*model.User, error) { + var user model.User + + if _, err := d.Where("id = ?", id).Get(&user); err != nil { + return nil, err + } + return &user, nil +} + +// GetUserByNameAndPwd 根据用户名+密码查询用户 +func (d *User) GetUserByNameAndPwd(name, pwd string) (*model.User, error) { + var user model.User + + if _, err := d.Where("name =?", name).And("password = ?", pwd).Get(&user); err != nil { + fmt.Println(err.Error()) + return nil, err + } + return &user, nil +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000000000000000000000000000000000..139690fd8fe51f6b33001d2bab966edc20290afb --- /dev/null +++ b/go.mod @@ -0,0 +1,38 @@ +module edu-mentality-health + +go 1.19 + +require ( + github.com/0852FeiFeiLin/baiduAI v0.0.0-20230111160800-d2064e502e10 + github.com/gin-contrib/sessions v0.0.5 + github.com/gin-gonic/gin v1.8.2 + github.com/go-sql-driver/mysql v1.7.0 + golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 + xorm.io/xorm v1.3.2 +) + +require ( + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.14.0 // indirect + github.com/go-playground/universal-translator v0.18.0 // indirect + github.com/go-playground/validator/v10 v10.11.1 // indirect + github.com/goccy/go-json v0.9.11 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/gorilla/context v1.1.1 // indirect + github.com/gorilla/securecookie v1.1.1 // indirect + github.com/gorilla/sessions v1.2.1 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/leodido/go-urn v1.2.1 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/pelletier/go-toml/v2 v2.0.6 // indirect + github.com/syndtr/goleveldb v1.0.0 // indirect + github.com/ugorji/go/codec v1.2.7 // indirect + golang.org/x/net v0.4.0 // indirect + golang.org/x/sys v0.3.0 // indirect + golang.org/x/text v0.5.0 // indirect + google.golang.org/protobuf v1.28.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000000000000000000000000000000000000..685d83046d3c783c71eaf7ee1dc4f1e0504a7dd9 --- /dev/null +++ b/go.sum @@ -0,0 +1,700 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s= +gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU= +gitee.com/travelliu/dm v1.8.11192/go.mod h1:DHTzyhCrM843x9VdKVbZ+GKXGRbKM2sJ4LxihRxShkE= +github.com/0852FeiFeiLin/baiduAI v0.0.0-20230111160800-d2064e502e10 h1:P4Wzz/ly6k3Js4SHuCEy9z56qqcL9AIbHB/rJePswMM= +github.com/0852FeiFeiLin/baiduAI v0.0.0-20230111160800-d2064e502e10/go.mod h1:6cATHZkmteaWp/qQHb5TMQfWh5wfy30463mPw1Mcdto= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/denisenkom/go-mssqldb v0.10.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/gin-contrib/sessions v0.0.5 h1:CATtfHmLMQrMNpJRgzjWXD7worTh7g7ritsQfmF+0jE= +github.com/gin-contrib/sessions v0.0.5/go.mod h1:vYAuaUPqie3WUSsft6HUlCjlwwoJQs97miaG2+7neKY= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.8.2 h1:UzKToD9/PoFj/V4rvlKqTRKnQYyz8Sc1MJlv4JHPtvY= +github.com/gin-gonic/gin v1.8.2/go.mod h1:qw5AYuDrzRTnhvusDsrov+fDIxp9Dleuu12h8nfB398= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= +github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= +github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= +github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= +github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= +github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc= +github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/goccy/go-json v0.8.1/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/goccy/go-json v0.9.11 h1:/pAaQDLHEoCq/5FFmSKBswWmK6H0e8g4159Kc/X/nqk= +github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI= +github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.4.0/go.mod h1:Y2O3ZDF0q4mMacyWV3AstPJpeHXWGEetiFttmq5lahk= +github.com/jackc/pgconn v1.5.0/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= +github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.8.1/go.mod h1:JV6m6b6jhjdmzchES0drzCcYcAHS1OPD5xu3OZ/lE2g= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= +github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= +github.com/jackc/pgtype v1.3.1-0.20200606141011-f6355165a91c/go.mod h1:cvk9Bgu/VzJ9/lxTO5R5sf80p0DiucVtN7ZxvaC4GmQ= +github.com/jackc/pgtype v1.7.0/go.mod h1:ZnHF+rMePVqDKaOfJVI4Q8IVvAQMryDlDkZnKOI75BE= +github.com/jackc/pgtype v1.8.0/go.mod h1:PqDKcEBtllAtk/2p6z6SHdXW5UB+MhE75tUol2OKexE= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXgo+kA= +github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= +github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= +github.com/jackc/pgx/v4 v4.11.0/go.mod h1:i62xJgdrtVDsnL3U8ekyrQXEwGNTRoG7/8r+CIdYfcc= +github.com/jackc/pgx/v4 v4.12.0/go.mod h1:fE547h6VulLPA3kySjfnSG/e2D861g/50JlVUa/ub60= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= +github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/pelletier/go-toml/v2 v2.0.6 h1:nrzqCb7j9cDFj2coyLNLaZuJTLjWjlaz6nvTvIwycIU= +github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 h1:OdAsTTz6OkFY5QxjkYwrChwuRruF69c169dPK26NUlk= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8= +github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE= +github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= +github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0= +github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= +github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 h1:0es+/5331RGQPcXlMfP+WrnIIS6dNnNRe0WB02W0F4M= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU= +golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201126233918-771906719818/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210902050250-f475640dd07b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= +golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +lukechampine.com/uint128 v1.1.1 h1:pnxCASz787iMf+02ssImqk6OLt+Z5QHMoZyUXR4z6JU= +lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +modernc.org/cc/v3 v3.33.6/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.33.9/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.33.11/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.34.0/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.0/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.4/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.5/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.7/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.8/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.10/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.15/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.16/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.17/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/cc/v3 v3.35.18 h1:rMZhRcWrba0y3nVmdiQ7kxAgOOSq2m2f2VzjHLgEs6U= +modernc.org/cc/v3 v3.35.18/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= +modernc.org/ccgo/v3 v3.9.5/go.mod h1:umuo2EP2oDSBnD3ckjaVUXMrmeAw8C8OSICVa0iFf60= +modernc.org/ccgo/v3 v3.10.0/go.mod h1:c0yBmkRFi7uW4J7fwx/JiijwOjeAeR2NoSaRVFPmjMw= +modernc.org/ccgo/v3 v3.11.0/go.mod h1:dGNposbDp9TOZ/1KBxghxtUp/bzErD0/0QW4hhSaBMI= +modernc.org/ccgo/v3 v3.11.1/go.mod h1:lWHxfsn13L3f7hgGsGlU28D9eUOf6y3ZYHKoPaKU0ag= +modernc.org/ccgo/v3 v3.11.3/go.mod h1:0oHunRBMBiXOKdaglfMlRPBALQqsfrCKXgw9okQ3GEw= +modernc.org/ccgo/v3 v3.12.4/go.mod h1:Bk+m6m2tsooJchP/Yk5ji56cClmN6R1cqc9o/YtbgBQ= +modernc.org/ccgo/v3 v3.12.6/go.mod h1:0Ji3ruvpFPpz+yu+1m0wk68pdr/LENABhTrDkMDWH6c= +modernc.org/ccgo/v3 v3.12.8/go.mod h1:Hq9keM4ZfjCDuDXxaHptpv9N24JhgBZmUG5q60iLgUo= +modernc.org/ccgo/v3 v3.12.11/go.mod h1:0jVcmyDwDKDGWbcrzQ+xwJjbhZruHtouiBEvDfoIsdg= +modernc.org/ccgo/v3 v3.12.14/go.mod h1:GhTu1k0YCpJSuWwtRAEHAol5W7g1/RRfS4/9hc9vF5I= +modernc.org/ccgo/v3 v3.12.18/go.mod h1:jvg/xVdWWmZACSgOiAhpWpwHWylbJaSzayCqNOJKIhs= +modernc.org/ccgo/v3 v3.12.20/go.mod h1:aKEdssiu7gVgSy/jjMastnv/q6wWGRbszbheXgWRHc8= +modernc.org/ccgo/v3 v3.12.21/go.mod h1:ydgg2tEprnyMn159ZO/N4pLBqpL7NOkJ88GT5zNU2dE= +modernc.org/ccgo/v3 v3.12.22/go.mod h1:nyDVFMmMWhMsgQw+5JH6B6o4MnZ+UQNw1pp52XYFPRk= +modernc.org/ccgo/v3 v3.12.25/go.mod h1:UaLyWI26TwyIT4+ZFNjkyTbsPsY3plAEB6E7L/vZV3w= +modernc.org/ccgo/v3 v3.12.29/go.mod h1:FXVjG7YLf9FetsS2OOYcwNhcdOLGt8S9bQ48+OP75cE= +modernc.org/ccgo/v3 v3.12.36/go.mod h1:uP3/Fiezp/Ga8onfvMLpREq+KUjUmYMxXPO8tETHtA8= +modernc.org/ccgo/v3 v3.12.38/go.mod h1:93O0G7baRST1vNj4wnZ49b1kLxt0xCW5Hsa2qRaZPqc= +modernc.org/ccgo/v3 v3.12.43/go.mod h1:k+DqGXd3o7W+inNujK15S5ZYuPoWYLpF5PYougCmthU= +modernc.org/ccgo/v3 v3.12.46/go.mod h1:UZe6EvMSqOxaJ4sznY7b23/k13R8XNlyWsO5bAmSgOE= +modernc.org/ccgo/v3 v3.12.47/go.mod h1:m8d6p0zNps187fhBwzY/ii6gxfjob1VxWb919Nk1HUk= +modernc.org/ccgo/v3 v3.12.50/go.mod h1:bu9YIwtg+HXQxBhsRDE+cJjQRuINuT9PUK4orOco/JI= +modernc.org/ccgo/v3 v3.12.51/go.mod h1:gaIIlx4YpmGO2bLye04/yeblmvWEmE4BBBls4aJXFiE= +modernc.org/ccgo/v3 v3.12.53/go.mod h1:8xWGGTFkdFEWBEsUmi+DBjwu/WLy3SSOrqEmKUjMeEg= +modernc.org/ccgo/v3 v3.12.54/go.mod h1:yANKFTm9llTFVX1FqNKHE0aMcQb1fuPJx6p8AcUx+74= +modernc.org/ccgo/v3 v3.12.55/go.mod h1:rsXiIyJi9psOwiBkplOaHye5L4MOOaCjHg1Fxkj7IeU= +modernc.org/ccgo/v3 v3.12.56/go.mod h1:ljeFks3faDseCkr60JMpeDb2GSO3TKAmrzm7q9YOcMU= +modernc.org/ccgo/v3 v3.12.57/go.mod h1:hNSF4DNVgBl8wYHpMvPqQWDQx8luqxDnNGCMM4NFNMc= +modernc.org/ccgo/v3 v3.12.60/go.mod h1:k/Nn0zdO1xHVWjPYVshDeWKqbRWIfif5dtsIOCUVMqM= +modernc.org/ccgo/v3 v3.12.65/go.mod h1:D6hQtKxPNZiY6wDBtehSGKFKmyXn53F8nGTpH+POmS4= +modernc.org/ccgo/v3 v3.12.66/go.mod h1:jUuxlCFZTUZLMV08s7B1ekHX5+LIAurKTTaugUr/EhQ= +modernc.org/ccgo/v3 v3.12.67/go.mod h1:Bll3KwKvGROizP2Xj17GEGOTrlvB1XcVaBrC90ORO84= +modernc.org/ccgo/v3 v3.12.73/go.mod h1:hngkB+nUUqzOf3iqsM48Gf1FZhY599qzVg1iX+BT3cQ= +modernc.org/ccgo/v3 v3.12.81/go.mod h1:p2A1duHoBBg1mFtYvnhAnQyI6vL0uw5PGYLSIgF6rYY= +modernc.org/ccgo/v3 v3.12.82 h1:wudcnJyjLj1aQQCXF3IM9Gz2X6UNjw+afIghzdtn0v8= +modernc.org/ccgo/v3 v3.12.82/go.mod h1:ApbflUfa5BKadjHynCficldU1ghjen84tuM5jRynB7w= +modernc.org/ccorpus v1.11.1/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= +modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= +modernc.org/libc v1.9.8/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w= +modernc.org/libc v1.9.11/go.mod h1:NyF3tsA5ArIjJ83XB0JlqhjTabTCHm9aX4XMPHyQn0Q= +modernc.org/libc v1.11.0/go.mod h1:2lOfPmj7cz+g1MrPNmX65QCzVxgNq2C5o0jdLY2gAYg= +modernc.org/libc v1.11.2/go.mod h1:ioIyrl3ETkugDO3SGZ+6EOKvlP3zSOycUETe4XM4n8M= +modernc.org/libc v1.11.5/go.mod h1:k3HDCP95A6U111Q5TmG3nAyUcp3kR5YFZTeDS9v8vSU= +modernc.org/libc v1.11.6/go.mod h1:ddqmzR6p5i4jIGK1d/EiSw97LBcE3dK24QEwCFvgNgE= +modernc.org/libc v1.11.11/go.mod h1:lXEp9QOOk4qAYOtL3BmMve99S5Owz7Qyowzvg6LiZso= +modernc.org/libc v1.11.13/go.mod h1:ZYawJWlXIzXy2Pzghaf7YfM8OKacP3eZQI81PDLFdY8= +modernc.org/libc v1.11.16/go.mod h1:+DJquzYi+DMRUtWI1YNxrlQO6TcA5+dRRiq8HWBWRC8= +modernc.org/libc v1.11.19/go.mod h1:e0dgEame6mkydy19KKaVPBeEnyJB4LGNb0bBH1EtQ3I= +modernc.org/libc v1.11.24/go.mod h1:FOSzE0UwookyT1TtCJrRkvsOrX2k38HoInhw+cSCUGk= +modernc.org/libc v1.11.26/go.mod h1:SFjnYi9OSd2W7f4ct622o/PAYqk7KHv6GS8NZULIjKY= +modernc.org/libc v1.11.27/go.mod h1:zmWm6kcFXt/jpzeCgfvUNswM0qke8qVwxqZrnddlDiE= +modernc.org/libc v1.11.28/go.mod h1:Ii4V0fTFcbq3qrv3CNn+OGHAvzqMBvC7dBNyC4vHZlg= +modernc.org/libc v1.11.31/go.mod h1:FpBncUkEAtopRNJj8aRo29qUiyx5AvAlAxzlx9GNaVM= +modernc.org/libc v1.11.34/go.mod h1:+Tzc4hnb1iaX/SKAutJmfzES6awxfU1BPvrrJO0pYLg= +modernc.org/libc v1.11.37/go.mod h1:dCQebOwoO1046yTrfUE5nX1f3YpGZQKNcITUYWlrAWo= +modernc.org/libc v1.11.39/go.mod h1:mV8lJMo2S5A31uD0k1cMu7vrJbSA3J3waQJxpV4iqx8= +modernc.org/libc v1.11.42/go.mod h1:yzrLDU+sSjLE+D4bIhS7q1L5UwXDOw99PLSX0BlZvSQ= +modernc.org/libc v1.11.44/go.mod h1:KFq33jsma7F5WXiYelU8quMJasCCTnHK0mkri4yPHgA= +modernc.org/libc v1.11.45/go.mod h1:Y192orvfVQQYFzCNsn+Xt0Hxt4DiO4USpLNXBlXg/tM= +modernc.org/libc v1.11.47/go.mod h1:tPkE4PzCTW27E6AIKIR5IwHAQKCAtudEIeAV1/SiyBg= +modernc.org/libc v1.11.49/go.mod h1:9JrJuK5WTtoTWIFQ7QjX2Mb/bagYdZdscI3xrvHbXjE= +modernc.org/libc v1.11.51/go.mod h1:R9I8u9TS+meaWLdbfQhq2kFknTW0O3aw3kEMqDDxMaM= +modernc.org/libc v1.11.53/go.mod h1:5ip5vWYPAoMulkQ5XlSJTy12Sz5U6blOQiYasilVPsU= +modernc.org/libc v1.11.54/go.mod h1:S/FVnskbzVUrjfBqlGFIPA5m7UwB3n9fojHhCNfSsnw= +modernc.org/libc v1.11.55/go.mod h1:j2A5YBRm6HjNkoSs/fzZrSxCuwWqcMYTDPLNx0URn3M= +modernc.org/libc v1.11.56/go.mod h1:pakHkg5JdMLt2OgRadpPOTnyRXm/uzu+Yyg/LSLdi18= +modernc.org/libc v1.11.58/go.mod h1:ns94Rxv0OWyoQrDqMFfWwka2BcaF6/61CqJRK9LP7S8= +modernc.org/libc v1.11.70/go.mod h1:DUOmMYe+IvKi9n6Mycyx3DbjfzSKrdr/0Vgt3j7P5gw= +modernc.org/libc v1.11.71/go.mod h1:DUOmMYe+IvKi9n6Mycyx3DbjfzSKrdr/0Vgt3j7P5gw= +modernc.org/libc v1.11.75/go.mod h1:dGRVugT6edz361wmD9gk6ax1AbDSe0x5vji0dGJiPT0= +modernc.org/libc v1.11.82/go.mod h1:NF+Ek1BOl2jeC7lw3a7Jj5PWyHPwWD4aq3wVKxqV1fI= +modernc.org/libc v1.11.86/go.mod h1:ePuYgoQLmvxdNT06RpGnaDKJmDNEkV7ZPKI2jnsvZoE= +modernc.org/libc v1.11.87 h1:PzIzOqtlzMDDcCzJ5cUP6h/Ku6Fa9iyflP2ccTY64aE= +modernc.org/libc v1.11.87/go.mod h1:Qvd5iXTeLhI5PS0XSyqMY99282y+3euapQFxM7jYnpY= +modernc.org/mathutil v1.1.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.4.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.4.1 h1:ij3fYGe8zBF4Vu+g0oT7mB06r8sqGWKuJu1yXeR4by8= +modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.0.4/go.mod h1:nV2OApxradM3/OVbs2/0OsP6nPfakXpi50C7dcoHXlc= +modernc.org/memory v1.0.5 h1:XRch8trV7GgvTec2i7jc33YlUI0RKVDBvZ5eZ5m8y14= +modernc.org/memory v1.0.5/go.mod h1:B7OYswTRnfGg+4tDH1t1OeUNnsy2viGTdME4tzd+IjM= +modernc.org/opt v0.1.1 h1:/0RX92k9vwVeDXj+Xn23DKp2VJubL7k8qNffND6qn3A= +modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sqlite v1.14.2 h1:ohsW2+e+Qe2To1W6GNezzKGwjXwSax6R+CrhRxVaFbE= +modernc.org/sqlite v1.14.2/go.mod h1:yqfn85u8wVOE6ub5UT8VI9JjhrwBUUCNyTACN0h6Sx8= +modernc.org/strutil v1.1.1 h1:xv+J1BXY3Opl2ALrBwyfEikFAj8pmqcpnfmuwUwcozs= +modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= +modernc.org/tcl v1.8.13/go.mod h1:V+q/Ef0IJaNUSECieLU4o+8IScapxnMyFV6i/7uQlAY= +modernc.org/token v1.0.0 h1:a0jaWiNMDhDUtqOj09wvjWWAqd3q7WpBulmL9H2egsk= +modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/z v1.2.19/go.mod h1:+ZpP0pc4zz97eukOzW3xagV/lS82IpPN9NGG5pNF9vY= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= +xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978 h1:bvLlAPW1ZMTWA32LuZMBEGHAUOcATZjzHcotf3SWweM= +xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE= +xorm.io/xorm v1.3.2 h1:uTRRKF2jYzbZ5nsofXVUx6ncMaek+SHjWYtCXyZo1oM= +xorm.io/xorm v1.3.2/go.mod h1:9NbjqdnjX6eyjRRhh01GHm64r6N9shTb/8Ak3YRt8Nw= diff --git a/main.go b/main.go index f0fbaba83295e20f96d2d7047a43b7655d6235ba..838bc9e1fe08a5b0a96e6932be9a5ef412417bd7 100644 --- a/main.go +++ b/main.go @@ -1 +1,80 @@ -package edu_mentality_health +package main + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/router" + "edu-mentality-health/tools" + "encoding/base64" + "fmt" + BaiDu_Ai "github.com/0852FeiFeiLin/baiduAI" + "github.com/gin-contrib/sessions" + "github.com/gin-contrib/sessions/cookie" + "github.com/gin-gonic/gin" + "io/ioutil" +) + +func main() { + gin.SetMode(gin.ReleaseMode) + + //获取配置文件中的配置信息 + cfg := tools.GetConfig() + //调用OrmEngine,初始化orm对象 + _, err := tools.OrmEngine(cfg) + if err != nil { + fmt.Println(err.Error()) + return + } + + app := gin.Default() + + app.LoadHTMLGlob("./views/**/*") + + app.Static("/static", "./static") + + // 使用session + consts.Store = cookie.NewStore([]byte("shuiche")) + app.Use(sessions.Sessions("mysession", consts.Store)) + //app.Use(middleware.IsLogin()) + + //调用路由设置 + router.RegisterRouter(app) + + // test() + + //info := param.BmiReq{} + //healthTest := service.HealthTest{} + //healthTest.Bmi(info) + + fmt.Println("server running at: " + cfg.AppHost + ":" + cfg.AppPort) + + //自定义配置设置端口 + app.Run(cfg.AppHost + ":" + cfg.AppPort) +} + +// 人脸检测 +func test() { + //百度智能云控制台获取的AI应用鉴权信息 + appid := consts.FACE_APPID + apikey := consts.FACE_APIKEY + secretkey := consts.FACE_SECRETKEY + client, err := BaiDu_Ai.NewAipFace(appid, apikey, secretkey) + if err != nil { + fmt.Println(err.Error()) + } + // 读取文件,文件的base64编码 + ff, _ := ioutil.ReadFile("./static/img/my.jpg") + image := base64.StdEncoding.EncodeToString(ff) + + // 发起请求,返回响应 + res := client.Detect(image, "BASE64", nil) + fmt.Println(res) + + // 带可选参数调用 读取本地文件 + //ff, _ := ioutil.ReadFile("本地图片路径") + //image := base64.StdEncoding.EncodeToString(ff) + //options := map[string]string{ + // "face_field": "age,beauty", + //} + //res := client.Detect(image, "BASE64", options) + //fmt.Println(res) +} diff --git a/middleware/middleware.go b/middleware/middleware.go new file mode 100644 index 0000000000000000000000000000000000000000..e547e14805d89bd08b7172b7b5e49ee682473d41 --- /dev/null +++ b/middleware/middleware.go @@ -0,0 +1,92 @@ +package middleware + +import ( + "edu-mentality-health/consts" + "fmt" + "github.com/gin-gonic/gin" + "net/http" + "strings" +) + +type Middleware struct { +} + +// +//func IsLogin() gin.HandlerFunc { +// return func(context *gin.Context) { +// user := consts.Session.Get("user") +// if user != "" { +// fmt.Println("我是中间件,我获取到的Session用户:", consts.Session.Get("user")) +// context.Next() +// } else { +// fmt.Println("请先登录") +// context.HTML(http.StatusBadRequest, "login.html", nil) +// } +// } +//} + +func IsLogin(context *gin.Context) gin.HandlerFunc { + user := consts.Session.Get("user") + + if user != nil { + fmt.Println("我是中间件,我获取到的Session用户:", consts.Session.Get("user")) + context.Next() + } else { + fmt.Println("请先登录") + context.HTML(http.StatusBadRequest, "login.html", nil) + return nil + } + return nil +} + +/* +Cors 跨域访问中间件: + + 我们取出来origin的值,判断是否有值,有就进行header请求设置, + 然后我们判断method是否是options,如果是的话,给浏览器返回200,还有OK,进行放行 + 随后我们继续调用请求, Next() + 这样就成功设置好跨域访问啦 +*/ +func Cors() gin.HandlerFunc { + return func(context *gin.Context) { + //获取请求方法 + method := context.Request.Method + //获取origin + origin := context.Request.Header.Get("Origin") + //解析http的请求头其他参数, + var headerKeys []string + //获取添加到切片中 + for key, _ := range context.Request.Header { + headerKeys = append(headerKeys, key) //将header里面的每一个key添加到切片中 + } + //进行分隔 + headerStr := strings.Join(headerKeys, ",") + //判断,并进行设置 + if headerStr != "" { + //设置访问内容 + headerStr = fmt.Sprintf("access-control-allow-origin,access-control-allow-header,%s", headerStr) + } else { + headerStr = "access-control-allow-origin,access-control-allow-header" + } + //设置header,模拟浏览器发送请求 (因为跨域访问的是会有origin值的) + if origin != "" { + //如果是跨域访问,设置header值 + context.Writer.Header().Set("Access-Control-Allow-Origin", "*") + + context.Header("Access-Control-Allow-Origin", "*") //设置允许所有跨域访问 + context.Header("Access-Control-Allow-Methods", "POST,GET,OPTIONS,PUT,DELETE,UPDATE") + context.Header("Access-Control-Allow-Headers", "Content-Type,AccessToken,X-CSRF-Token,Access-Token,Authorization,Token, X-Requested-With,Accept,yourHeaderFeild") + context.Header("Access-Control-Expose-Headers", "Content-Length,Access-Control-Allow-Origin,Access-Control-Allow-Headers,Content-Type") + context.Header("Access-Control-Max-Age", "172800") + context.Header("Access-Control-Allow-Credentials", "true") + //context.Header("context-type", "application/json") + context.Set("context-type", "application/json") //返回格式是json + } + //如果method是options,代表是嗅探请求,放行 + if method == "OPTIONS" { + context.JSON(http.StatusOK, "Options Request!") //高柳浏览器通过验证 + } + //继续处理请求 + context.Next() + } +} diff --git a/model/bmr.go b/model/bmr.go new file mode 100644 index 0000000000000000000000000000000000000000..1298fd30ba7f30a8a162d64ca0d234bbc6787a0a --- /dev/null +++ b/model/bmr.go @@ -0,0 +1,12 @@ +package model + +type Bmr struct { + ErrorCode int `json:"error_code"` + Reason string `json:"reason"` + Result `json:"result"` + Range string `json:"range"` +} + +type Result struct { + Range string `json:"range"` +} diff --git a/model/fapig.go b/model/fapig.go new file mode 100644 index 0000000000000000000000000000000000000000..251b271263303fe8ffed4eb5d1c7de46592f389e --- /dev/null +++ b/model/fapig.go @@ -0,0 +1,52 @@ +package model + +type FaPig struct { + Reason string `json:"reason"` + FaPigResult `json:"result"` + ErrorCode int `json:"error_code"` +} + +type FaPigResult struct { + Stw `json:"stw"` + Xw `json:"xw"` + Xyw `json:"xyw"` + Syw `json:"syw"` + Tw `json:"tw"` + Dtw `json:"dtw"` + Xtw `json:"xtw"` +} + +type Stw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Xw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Xyw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Syw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Tw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Dtw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} + +type Xtw struct { + Cm string `json:"cm"` + Yc string `json:"yc"` +} diff --git a/model/hello.go b/model/hello.go new file mode 100644 index 0000000000000000000000000000000000000000..d42e4aa4511eaf2ad4a439a16c83cc648e6aa3bb --- /dev/null +++ b/model/hello.go @@ -0,0 +1,6 @@ +package model + +type Hello struct { + Name string + Age int +} diff --git a/model/makes.go b/model/makes.go new file mode 100644 index 0000000000000000000000000000000000000000..b9b190f4498c0eaf6b2cdf58d0becc9ebcff0dcc --- /dev/null +++ b/model/makes.go @@ -0,0 +1,12 @@ +package model + +type Makes struct { + Id int `json:"id"` + SNo string `json:"s_no" form:"s_no"` + SName string `json:"s_name" form:"s_name"` + SPhone string `json:"s_phone" form:"s_phone" ` + TId int `json:"t_id"` + TName string `json:"t_name" form:"t_name"` + Status int `json:"status"` + Messages string `json:"messages" form:"messages"` +} diff --git a/model/teacher.go b/model/teacher.go new file mode 100644 index 0000000000000000000000000000000000000000..6049c607bfe34e7ba9990a10a5c19b4a1239faf4 --- /dev/null +++ b/model/teacher.go @@ -0,0 +1,20 @@ +package model + +import "time" + +type TeacherInfo struct { + TId int `json:"t_id"` + TNo string `json:"t_no"` + TName string `json:"t_name"` + Password string `json:"password"` + Photo string `json:"photo"` + Sex int `json:"sex"` + Birthday string `json:"birthday"` + Email string `json:"email"` + Phone string `json:"phone"` + CardId string `json:"card_id"` + Status int `json:"status"` + JobTime time.Time `json:"job_time"` + TLevel string `json:"t_level"` + TAddress string `json:"t_address"` +} diff --git a/model/user.go b/model/user.go new file mode 100644 index 0000000000000000000000000000000000000000..19a0d6dc5e2c9bf1c7492beb836f0a7f06fd0700 --- /dev/null +++ b/model/user.go @@ -0,0 +1,12 @@ +package model + +import "time" + +type User struct { + Id int64 `json:"id" xorm:"int id"` + Name string `json:"name" xorm:"varchar(21) name" ` + Password string `json:"password" xorm:"varchar(21) password" ` + Phone string `json:"phone" xorm:"varchar(18) phone"` + CreatedTime time.Time `json:"created_time" xorm:"datetime created_time" ` + Email string `json:"email" xorm:"varchar(50) email"` +} diff --git a/param/analysis.go b/param/analysis.go new file mode 100644 index 0000000000000000000000000000000000000000..c4bada35a9d32f19dba56810d69b4b171c3d7731 --- /dev/null +++ b/param/analysis.go @@ -0,0 +1,21 @@ +package param + +type AnalysisRes struct { + ErrorCode int `json:"error_code"` + Reason string `json:"reason"` + AnalysisResult AnalysisResult `json:"result"` +} + +type AnalysisResult struct { + Alphabet string `json:"alphabet"` // 人格字母 + Vocabulary string `json:"vocabulary"` // 人格英文 + Occupation string `json:"occupation"` // 人格中文 + Summarize []string `json:"summarize"` // 性格概述 + Desc []string `json:"desc"` // 性格描述 + Characteristic []Characteristic `json:"characteristic"` // 性格特点 +} + +type Characteristic struct { + Title string `json:"title"` // 标题 + Desc []string `json:"desc"` // 特点描述 +} diff --git a/param/healthTest.go b/param/healthTest.go new file mode 100644 index 0000000000000000000000000000000000000000..b97e24ec47d960a3857b4789b05c1a716d84b90f --- /dev/null +++ b/param/healthTest.go @@ -0,0 +1,42 @@ +package param + +type Bmr struct { + Height string `json:"height"` + Weight string `json:"weight"` + Age int `json:"age"` + Sex int `json:"sex"` + Level int `json:"level"` + Waistline int `json:"waistline"` +} + +type Bfr struct { + ErrorCode int `json:"error_code"` + Reason string `json:"reason"` + BfrResult `json:"result"` +} + +type BfrResult struct { + Bfr string `json:"bfr"` + Remark string `json:"remark"` +} + +type BmiReq struct { + Height string `json:"height"` + Weight string `json:"weight"` + Role int `json:"role"` + Sex int `json:"sex"` +} +type BmiRes struct { + ErrorCode int `json:"error_code"` + Reason string `json:"reason"` + BmiResult `json:"result"` +} +type BmiResult struct { + IdealWeight int `json:"idealWeight"` + NormalWeight string `json:"normalWeight"` + Level int `json:"level"` + LevelMsg string `json:"levelMsg"` + Danger string `json:"danger"` + Bmi int `json:"bmi"` + NormalBMI string `json:"normal_bmi"` +} diff --git a/param/hello.go b/param/hello.go new file mode 100644 index 0000000000000000000000000000000000000000..564f22f3d3efb86d5e97e06785611157de63dd39 --- /dev/null +++ b/param/hello.go @@ -0,0 +1 @@ +package param diff --git a/param/questionsTest.go b/param/questionsTest.go new file mode 100644 index 0000000000000000000000000000000000000000..a97770e278384c8d2666d48af999e4cb3cb06037 --- /dev/null +++ b/param/questionsTest.go @@ -0,0 +1,15 @@ +package param + +type QuestionsTestRes struct { + ErrorCode int `json:"error_code"` + Reason string `json:"reason"` + QuestionsTestResult []QuestionsTest `json:"result"` +} + +type QuestionsTest struct { + Q string `json:"q"` // 问题 + A string `json:"a"` // 选项a + B string `json:"b"` // 选项b + Ia string `json:"ia"` // 选项a的答案值,提交答案时使用此值 + Ib string `json:"ib"` // 选项b的答案值,提交答案时使用此值 +} diff --git a/param/tokenParse.go b/param/tokenParse.go new file mode 100644 index 0000000000000000000000000000000000000000..522eec54ef9384329af71080d74a77b78519e67a --- /dev/null +++ b/param/tokenParse.go @@ -0,0 +1,5 @@ +package param + +type TokenRes struct { + AccessToken string `json:"access_token"` +} diff --git a/router/router.go b/router/router.go new file mode 100644 index 0000000000000000000000000000000000000000..8132f98daed55f3bec9c065c71330ee2fcec7edc --- /dev/null +++ b/router/router.go @@ -0,0 +1,23 @@ +package router + +import ( + "edu-mentality-health/controller" + "github.com/gin-gonic/gin" +) + +// RegisterRouter 路由设置 +func RegisterRouter(router *gin.Engine) { + new(controller.BaseController).Router(router) + //router.LoadHTMLGlob("/static/**/*") + //router.LoadHTMLGlob("/views/**/*") + + new(controller.HelloController).Router(router) + new(controller.IndexController).Router(router) + new(controller.ToPageController).Router(router) + new(controller.HealthProjectController).Router(router) + new(controller.HealthTestController).Router(router) + new(controller.MentalityController).Router(router) + new(controller.UserController).Router(router) + new(controller.StudentController).Router(router) + +} diff --git a/service/healthProject.go b/service/healthProject.go new file mode 100644 index 0000000000000000000000000000000000000000..0e8bf5f3c800a62c8398094b4ba60991eacafbd6 --- /dev/null +++ b/service/healthProject.go @@ -0,0 +1,83 @@ +package service + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/tools" + "errors" + "fmt" + BaiDu_Ai "github.com/0852FeiFeiLin/baiduAI" + "io/ioutil" + "net/http" + "strings" +) + +type HealthProject struct { +} + +// Emotion 情感倾向分析 +func (s *HealthProject) Emotion(text string) (string, error) { + client, err := BaiDu_Ai.NewAipNlp(consts.NLP_APPID, consts.NLP_APIKEY, consts.NLP_SECRETKEY) + if err != nil { + return "", errors.New("情感分析失败,请重试" + err.Error()) + } + + return client.SentimentClassify(text), nil +} + +// Blessing 祝福语生成 +func (s *HealthProject) Blessing(text string) (string, error) { + //获取token + accessToken := tools.GetAccessToken(consts.NLP_APIKEY, consts.NLP_SECRETKEY) + // log.Println("获取到的accessToken:", accessToken) + + url := "https://aip.baidubce.com/rpc/2.0/nlp/v1/bless_creation?access_token=" + accessToken + payload := strings.NewReader(`{"text":"` + text + `"}`) + + client := &http.Client{} + req, err := http.NewRequest("POST", url, payload) + + if err != nil { + fmt.Println(err) + return "", err + } + req.Header.Add("Content-Type", "application/json") + req.Header.Add("Accept", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return "", err + } + defer res.Body.Close() + + body, err := ioutil.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return "", err + } + return string(body), err +} + +// ManAnime 人物动漫化 +func (s *HealthProject) ManAnime(imageData string, options map[string]string) (string, error) { + client, err := BaiDu_Ai.NewAipImage(consts.IMAGES_APPID, consts.IMAGES_APIKEY, consts.IMAGES_SECRETKEY) + if err != nil { + fmt.Println(err.Error()) + return "", errors.New("人物动漫化转化失败,请重试!" + err.Error()) + } + + return client.SelfieAnime(imageData, options), nil +} + +// StyleTrans 获取风格转换数据,并返回 +func (s *HealthProject) StyleTrans(imageData string, options map[string]string) (string, error) { + client, err := BaiDu_Ai.NewAipImage(consts.IMAGES_APPID, consts.IMAGES_APIKEY, consts.IMAGES_SECRETKEY) + if err != nil { + fmt.Println(err.Error()) + return "", errors.New("图像风格转换失败,请重试!" + err.Error()) + } + + res := client.StyleTrans(imageData, options) + + return res, nil +} diff --git a/service/healthTest.go b/service/healthTest.go new file mode 100644 index 0000000000000000000000000000000000000000..b920a4a9d8330ff8525ff49631b1be0b55b1c4a8 --- /dev/null +++ b/service/healthTest.go @@ -0,0 +1,109 @@ +package service + +import ( + "edu-mentality-health/model" + "edu-mentality-health/param" + "edu-mentality-health/tools" + "encoding/json" + "fmt" + "strconv" +) + +type HealthTest struct { +} + +// Bmr 通过身高、体重、年龄计算基础代谢率(BMR) +func (s *HealthTest) Bmr(info param.Bmr) string { + key := "24ad3e84ad1401957c3a7628fdce39fa" + sexStr := strconv.Itoa(info.Sex) + ageStr := strconv.Itoa(info.Age) + + url := "http://apis.juhe.cn/fapig/healthy/bmr?key=" + key + "&height=" + info.Height + "&weight=" + info.Weight + "&age=" + ageStr + "&sex=" + sexStr + + // 发起请求 + res := tools.RequestTool("GET", url, nil) + + // 解析数据 + result := model.Bmr{} + json.Unmarshal(res, &result) + + fmt.Println("返回的数据:" + result.Result.Range) + + return result.Result.Range +} + +// Bmi 通过传递身高、体重、性别计算体重是否正常 +func (s *HealthTest) Bmi(info param.BmiReq) param.BmiRes { + key := "9e7fad997893840a3930c3c0b40bf026" + sexStr := strconv.Itoa(info.Sex) + roleStr := strconv.Itoa(info.Role) + + url := "http://apis.juhe.cn/fapig/calculator/weight?key=" + key + "&weight=" + info.Weight + "&role=" + roleStr + "&sex=" + sexStr + "&height=" + info.Height + + // 发起请求 + res := tools.RequestTool("POST", url, nil) + + // 解析数据 + result := param.BmiRes{} + json.Unmarshal(res, &result) + + return result +} + +// Calorie 根据运动量等级、身高、体重、年龄计算热量/卡路里消耗 +func (s *HealthTest) Calorie(info param.Bmr) string { + key := "24ad3e84ad1401957c3a7628fdce39fa" + sexStr := strconv.Itoa(info.Sex) + ageStr := strconv.Itoa(info.Age) + levelStr := strconv.Itoa(info.Level) + + url := "http://apis.juhe.cn/fapig/healthy/calorie?key=" + key + "&height=" + info.Height + "&weight=" + info.Weight + "&age=" + ageStr + "&sex=" + sexStr + "&level=" + levelStr + + // 发起请求 + res := tools.RequestTool("POST", url, nil) + + // 解析数据 + result := model.Bmr{} + json.Unmarshal(res, &result) + + fmt.Println("返回的数据:" + result.Result.Range) + + return result.Result.Range +} + +// Bfr 根据体重、性别、腰围计算体脂率 +func (s *HealthTest) Bfr(info param.Bmr) string { + fmt.Println("我是体脂计算") + key := "24ad3e84ad1401957c3a7628fdce39fa" + sexStr := strconv.Itoa(info.Sex) + waistlineStr := strconv.Itoa(info.Waistline) + + url := "http://apis.juhe.cn/fapig/healthy/bfr?key=" + key + "&weight=" + info.Weight + "&sex=" + sexStr + "&waistline=" + waistlineStr + // 发起请求 + res := tools.RequestTool("POST", url, nil) + + // 解析数据 + result := param.Bfr{} + json.Unmarshal(res, &result) + + fmt.Println("返回的数据:" + result.BfrResult.Bfr) + + return result.BfrResult.Bfr +} + +// FaPig 通过身高计算女性最佳身材 +func (s *HealthTest) FaPig(height string) model.FaPig { + key := "bc9cf40c8bb476f48ee11392e23feba6" + + url := "http://apis.juhe.cn/fapig/stature/query?key=" + key + "&height=" + height + // 发起请求 + res := tools.RequestTool("POST", url, nil) + + fmt.Println(res) + + // 反序列化 + data := model.FaPig{} + json.Unmarshal(res, &data) + + return data +} diff --git a/service/hello.go b/service/hello.go new file mode 100644 index 0000000000000000000000000000000000000000..ab297a09f4567ad4c1941593d7f3a880ad331813 --- /dev/null +++ b/service/hello.go @@ -0,0 +1,10 @@ +package service + +import "fmt" + +type Hello struct { +} + +func (s *Hello) SyaHello() { + fmt.Println("hello~ Is my Project!") +} diff --git a/service/mentalityTests.go b/service/mentalityTests.go new file mode 100644 index 0000000000000000000000000000000000000000..dfb3b9e3e09881a249e4d76d9e6a48dd02c9d8bd --- /dev/null +++ b/service/mentalityTests.go @@ -0,0 +1,47 @@ +package service + +import ( + "edu-mentality-health/param" + "edu-mentality-health/tools" + "encoding/json" + "fmt" +) + +type MentalityTests struct { +} + +// GetQuestionsTest 获取性格测试题目 +func (s *MentalityTests) GetQuestionsTest() param.QuestionsTestRes { + key := "1999f7c0d57ef03d98ff131757253b6a" + url := "http://apis.juhe.cn/fapig/character_test/questions?level=senior&key=" + key + // 发起请求 + res := tools.RequestTool("POST", url, nil) + + // 解析数据 + result := param.QuestionsTestRes{} + json.Unmarshal(res, &result) + + fmt.Println("返回的数据:", len(result.QuestionsTestResult)) + + return result +} + +// Analysis 提交问题所对应的答案,获取性格测试结果 +func (s *MentalityTests) Analysis(answers string) param.AnalysisRes { + // key := "1999f7c0d57ef03d98ff131757253b6a" + // key := "29b9913129238d848a4acc986b53b2dd" + key := "a2beb9bf8982c0f30317d021ea8d1a66" + url := "http://apis.juhe.cn/fapig/character_test/analysis?answers=" + answers + "&key=" + key + // 发起请求 + // VgTY,7n6f,644W,i0gO,MlN8,6s7I,tquB,1SN,hKgB,y7xp,UCVk,gkfg, + // bzaN,uuty,6X8f,kTlH,avbK,nUn7,undefined,VnUg,ZTYI,fpgt,BxCf,W4WU + res := tools.RequestTool("POST", url, nil) + + // 解析数据 + result := param.AnalysisRes{} + json.Unmarshal(res, &result) + + fmt.Println("返回的数据数目:", result.AnalysisResult) + + return result +} diff --git a/service/student.go b/service/student.go new file mode 100644 index 0000000000000000000000000000000000000000..2d4514dcd803a0b2d54f0e6b4149dd2363934c55 --- /dev/null +++ b/service/student.go @@ -0,0 +1,30 @@ +package service + +import ( + "edu-mentality-health/dao" + "edu-mentality-health/model" + "errors" +) + +type Student struct { +} + +// Makes 预约心理老师 +func (s *Student) Makes(info model.Makes) (bool, error) { + // 根据老师姓名查询老师id + teacher := Teacher{} + teacherInfo, err := teacher.GetTeacherByName(info.TName) + if err != nil { + return false, err + } + + info.TId = teacherInfo.TId + + makesDao := dao.NewMakesDao() + result, err := makesDao.InsertMakes(info) + if err != nil || result == false { + return false, errors.New("预约心理老师失败:" + err.Error()) + } + + return result, nil +} diff --git a/service/teacher.go b/service/teacher.go new file mode 100644 index 0000000000000000000000000000000000000000..c1fa8ba2ddd36400af4330f4ccca28b08c165385 --- /dev/null +++ b/service/teacher.go @@ -0,0 +1,49 @@ +package service + +import ( + "edu-mentality-health/dao" + "edu-mentality-health/model" + "errors" + "fmt" +) + +type Teacher struct { +} + +// GetTeacherById 根据id查询老师信息 +func (s *Teacher) GetTeacherById(id int) (*model.TeacherInfo, error) { + teacherDao := dao.NewTeacherDao() + + result, err := teacherDao.GetTeacherById(id) + if err != nil { + fmt.Println(err.Error()) + return nil, errors.New("根据id查询老师失败:" + err.Error()) + } + + return result, nil +} + +// GetTeacherByName 根据name查询老师信息 +func (s *Teacher) GetTeacherByName(name string) (*model.TeacherInfo, error) { + teacherDao := dao.NewTeacherDao() + + result, err := teacherDao.GetTeacherByName(name) + if err != nil { + fmt.Println(err.Error()) + return nil, errors.New("根据name查询老师失败:" + err.Error()) + } + + return result, nil +} + +// QueryTeacherList 查询老师信息列表 +func (s *Teacher) QueryTeacherList() ([]*model.TeacherInfo, error) { + teacherDao := dao.NewTeacherDao() + + result, err := teacherDao.QueryTeacherList() + if err != nil { + return nil, errors.New("查询老师信息列表失败" + err.Error()) + } + + return result, nil +} diff --git a/service/user.go b/service/user.go new file mode 100644 index 0000000000000000000000000000000000000000..6a3b9f8c26a1e87b490a6322262d46500decf486 --- /dev/null +++ b/service/user.go @@ -0,0 +1,57 @@ +package service + +import ( + "edu-mentality-health/consts" + "edu-mentality-health/dao" + "edu-mentality-health/model" + "edu-mentality-health/tools" + "errors" + "time" +) + +type User struct { +} + +// GetUserById 根据id获取用户 +func (s *User) GetUserById(id int64) (*model.User, error) { + userDao := dao.NewUserDao() + user, err := userDao.GetUserById(id) + + if err != nil { + return nil, errors.New("根据id查询用户失败" + err.Error()) + } + + return user, nil +} + +// Register 用户注册 +func (s *User) Register(user model.User) (*model.User, error) { + userDao := dao.NewUserDao() + // 加密密码 + user.Password, _ = tools.PwdHash(user.Password, consts.SALT) + + user.CreatedTime = time.Now() + + result := userDao.InsertUser(user) + + if result < 0 { + return nil, errors.New("用户注册失败:") + } + + return s.GetUserById(user.Id) +} + +// Login 用户登录 +func (s *User) Login(name, pwd string) (*model.User, error) { + userDao := dao.NewUserDao() + // 加密密码 + pwdHash, _ := tools.PwdHash(pwd, consts.SALT) + + user, err := userDao.GetUserByNameAndPwd(name, pwdHash) + + if err != nil || user == nil { + return nil, errors.New("登录失败:" + err.Error()) + } + + return user, nil +} diff --git a/static/img/health1.png b/static/img/health1.png index 22ade866f93f103a724a376b328a70522877c9f8..355fc603655c0a45b01186bf8124129c7b9bbaa6 100644 Binary files a/static/img/health1.png and b/static/img/health1.png differ diff --git a/static/img/health2.png b/static/img/health2.png index b821b4122318993cf7f6ac8c85c3dba12c2f1d52..6bafe2ba330ca3e8e7f0fc2fbf7e0a2b40c2ebac 100644 Binary files a/static/img/health2.png and b/static/img/health2.png differ diff --git a/static/img/health3.png b/static/img/health3.png index 22069da40953bc89c07a1021372ed8c108b9e8a3..ecc80691101d8e32097213625a84e86c3fedec16 100644 Binary files a/static/img/health3.png and b/static/img/health3.png differ diff --git a/static/img/health4.jpg b/static/img/health4.jpg deleted file mode 100644 index f0c89d895408e6fa573060750c0e84533a0102c0..0000000000000000000000000000000000000000 Binary files a/static/img/health4.jpg and /dev/null differ diff --git a/static/img/health4.png b/static/img/health4.png new file mode 100644 index 0000000000000000000000000000000000000000..3286f2c60bf0fbef5f670ce8400811f6192c067a Binary files /dev/null and b/static/img/health4.png differ diff --git a/static/img/my.jpg b/static/img/my.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5fb46c3c4a638253754659b8ae0246d176c3677c Binary files /dev/null and b/static/img/my.jpg differ diff --git a/static/js/L2Dinit.js b/static/js/L2Dinit.js new file mode 100644 index 0000000000000000000000000000000000000000..1b5b15f6ebfb0f462df22488f155fc66e3d3fa5d --- /dev/null +++ b/static/js/L2Dinit.js @@ -0,0 +1,24 @@ +L2Dwidget.init({ + "model": { + jsonPath: "https://unpkg.com/live2d-widget-model-shizuku/assets/shizuku.model.json",//这里改模型,前面后面都要改 + "scale": 1 + }, + "display": { + "position": "left",//设置看板娘的上下左右位置 + "width": 200, + "height": 200, + "hOffset": 70, + "vOffset": 0 + }, + "mobile": { + "show": true, + "scale": 0.5 + }, + "react": { + "opacityDefault": 0.7,//设置透明度 + "opacityOnHover": 0.2 + } +}); +window.onload = function () { + $("#live2dcanvas").attr("style", "position: fixed; opacity: 0.7; left: 170px; bottom: 0px; z-index: 1; pointer-events: none;") +} diff --git a/static/js/L2Dwidget.min.js b/static/js/L2Dwidget.min.js new file mode 100644 index 0000000000000000000000000000000000000000..24958ae0a419a2d990aefab8a873744719f6d01b --- /dev/null +++ b/static/js/L2Dwidget.min.js @@ -0,0 +1,2 @@ +/*! https://github.com/xiazeyu/live2d-widget.js built@2018-2-15 23:35:19 */ +var L2Dwidget=function(t){var n=window.webpackJsonpL2Dwidget;window.webpackJsonpL2Dwidget=function(e,o,i){for(var c,u,a=0,f=[];a0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(63),o=e(21);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(28)("keys"),o=e(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(12).f,o=e(8),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(15);t.exports.f=function(t){return new function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}(t)}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(99);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},function(t,n,e){var r=e(1),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";var r=e(32),o=e(13),i=e(5),c=e(3),u=e(8),a=e(9),f=e(59),s=e(24),l=e(66),p=e(0)("iterator"),v=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,n,e,y,b,w,m){f(e,n,y);var x,g,_,j=function(t){if(!v&&t in S)return S[t];switch(t){case"keys":case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",P=b==d,k=!1,S=t.prototype,T=S[p]||S["@@iterator"]||b&&S[b],L=!v&&T||j(b),E=b?P?j("entries"):L:void 0,M="Array"==n?S.entries||T:T;if(M&&(_=l(M.call(new t)))!==Object.prototype&&_.next&&(s(_,O,!0),r||u(_,p)||c(_,p,h)),P&&T&&T.name!==d&&(k=!0,L=function(){return T.call(this)}),r&&!m||!v&&!k&&S[p]||c(S,p,L),a[n]=L,a[O]=h,b)if(x={values:P?L:j(d),keys:w?L:j("keys"),entries:E},m)for(g in x)g in S||i(S,g,x[g]);else o(o.P+o.F*(v||k),n,x);return x}},function(t,n){t.exports=!1},function(t,n,e){var r=e(62),o=e(35);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(2),o=e(15),i=e(0)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(14),u=e(78),a=e(36),f=e(19),s=e(1),l=s.process,p=s.setImmediate,v=s.clearImmediate,d=s.MessageChannel,h=s.Dispatch,y=0,b={},w="onreadystatechange",m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},x=function(t){m.call(t.data)};p&&v||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete b[t]},"process"==e(11)(l)?r=function(t){l.nextTick(c(m,t,1))}:h&&h.now?r=function(t){h.now(c(m,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",x,!1)):r=w in f("script")?function(t){a.appendChild(f("script"))[w]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:v}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(2),o=e(6),i=e(25);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},function(t,n,e){var r=e(89),o=e(90),i=e(91);t.exports=function(t,n){return i(o(t,n,r),t+"")}},function(t,n,e){var r=e(93),o=e(44),i=e(101),c=e(103),u=e(10),a=e(50);t.exports=function t(n,e,f,s,l){n!==e&&i(e,function(i,a){if(u(i))l||(l=new r),c(n,e,a,f,t,s,l);else{var p=s?s(n[a],i,a+"",n,e,l):void 0;void 0===p&&(p=i),o(n,a,p)}},a)}},function(t,n,e){var r=e(27),o=e(26);t.exports=function(t,n,e){(void 0===e||o(t[n],e))&&(void 0!==e||n in t)||r(t,n,e)}},function(t,n,e){var r=e(106),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n,e){var r=e(114)(Object.getPrototypeOf,Object);t.exports=r},function(t,n,e){var r=e(48),o=e(10),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=r(t);return n==c||n==u||n==i||n==a}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.config=n.configApplyer=void 0;var r=i(e(88)),o=i(e(130));function i(t){return t&&t.__esModule?t:{default:t}}var c={};n.configApplyer=function(t){n.config=c=(0,r.default)(t,o.default)},n.config=c},function(t,n,e){e(53),e(85),t.exports=e(86)},function(t,n,e){e(54),e(57),e(68),e(72),e(83),e(84),t.exports=e(4).Promise},function(t,n,e){"use strict";var r=e(17),o={};o[e(0)("toStringTag")]="z",o+""!="[object z]"&&e(5)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){t.exports=!e(7)&&!e(29)(function(){return 7!=Object.defineProperty(e(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(6);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){"use strict";var r=e(58)(!0);e(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(20),o=e(21);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(60),o=e(30),i=e(24),c={};e(3)(c,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(2),o=e(61),i=e(35),c=e(23)("IE_PROTO"),u=function(){},a="prototype",f=function(){var t,n=e(19)("iframe"),r=i.length;for(n.style.display="none",e(36).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write(" - - - - - - - - - + + + + + + + + + + + +{{define "footer" }} + + +{{ end }} + diff --git a/views/common/login.html b/views/common/login.html new file mode 100644 index 0000000000000000000000000000000000000000..87fcf537d5a944ef6211daec49b77107b283618d --- /dev/null +++ b/views/common/login.html @@ -0,0 +1,78 @@ + + + + + + + 看板娘登陆平台 + + + + + + + + + + + + + + +
+
+

Health Say 登录平台

+ + +
+ + +
+ +
+
+   + +
+

Health Say@2022

+
+
+ + + + + + diff --git a/views/common/nav-top.html b/views/common/nav-top.html index 27fe61eddcd67e7d5952cdacdd6bdf2638a33c16..5270c2d4fe09510d4aa2d58a9716dd3a0911bef1 100644 --- a/views/common/nav-top.html +++ b/views/common/nav-top.html @@ -2,12 +2,18 @@ - - - - + + + + + + + + + + {{define "nav-top"}} + {{end}} + + {{ if ne .data.Name "" }} + + {{ end }} diff --git a/views/common/register.html b/views/common/register.html new file mode 100644 index 0000000000000000000000000000000000000000..e39194d7a9a5ce5acc1fbb118b81ed9f5cde64b8 --- /dev/null +++ b/views/common/register.html @@ -0,0 +1,81 @@ + + + + + + 注册 + + + + + + + + + + + + + + + +
+
+ +

Health Say 注册平台

+ + + +
+ + + +
+ + + +
+ +
+   +   +
+

Health Say@2022

+
+
+ + + + \ No newline at end of file diff --git a/views/demo01.html b/views/demo01.html deleted file mode 100644 index cacb8331ef96670e2b9086055aa6be0ddc1ced9f..0000000000000000000000000000000000000000 --- a/views/demo01.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - ECharts - - - - - -
- - - \ No newline at end of file diff --git a/views/error.html b/views/error.html deleted file mode 100644 index b9476af27289b67babb389014e5dae872f0fabd6..0000000000000000000000000000000000000000 --- a/views/error.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - 错误页面 - - - - - - - - - - -
-
-

发生了一点小故障,返回首页~

- -

-
-
- -
-
- - - - - -
- - - diff --git a/views/footer.html b/views/footer.html deleted file mode 100644 index 56920fc70b93467eedcb7a6f3867744b47580348..0000000000000000000000000000000000000000 --- a/views/footer.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/views/healthProject/games02.html b/views/healthEat/otherEat.html similarity index 30% rename from views/healthProject/games02.html rename to views/healthEat/otherEat.html index 566549bdf8fae810809c1a81066000687cb338f6..69a036d8ec56a6245c290b34163c6cd9737a9804 100644 --- a/views/healthProject/games02.html +++ b/views/healthEat/otherEat.html @@ -2,9 +2,18 @@ - Title + 其他 + + +{{template "nav-top" .}} +{{template "footer" .}} \ No newline at end of file diff --git a/views/healthProject/games01.html b/views/healthProject/games01.html deleted file mode 100644 index a13f0dc791bae137daa617118f2966e2c4f3ff30..0000000000000000000000000000000000000000 --- a/views/healthProject/games01.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - 祝福语生成 - - - - - -
- -
-

祝福语生成

-
- -
-

节日关键词参考:

- -

- 平安夜 圣诞节 情人节 元旦 除夕 春节 新年 元宵节 妇女节 清明节 劳动节 端午节 国庆节 中秋节 重阳节 立春 雨水 惊蛰
- 春分 清明 谷雨 立夏 小满 芒种 夏至 小暑 大暑 立秋 处暑 白露 秋分 寒露 霜降 立冬 小雪 大雪 冬至 小寒 大寒 -

-

其他关键词参考:

-

高考

- - - -
-
-
-

祝福语:

-

-
- -
- - - - - diff --git a/views/healthProject/games03.html b/views/healthProject/games03.html deleted file mode 100644 index 566549bdf8fae810809c1a81066000687cb338f6..0000000000000000000000000000000000000000 --- a/views/healthProject/games03.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Title - - - - - \ No newline at end of file diff --git a/views/healthProject/makes.html b/views/healthProject/makes.html new file mode 100644 index 0000000000000000000000000000000000000000..a7f2f9bc7cc925678b0eba8d969497f934ea0417 --- /dev/null +++ b/views/healthProject/makes.html @@ -0,0 +1,74 @@ + + + + + 预约心理老师 + + + + + + + + + + + + + +
+
+

预约心理老师

+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+   + +
+

Health Say@2022

+ +
+ +
+
+ + + + + \ No newline at end of file diff --git a/views/healthProject/man_anime.html b/views/healthProject/man_anime.html index 36d50b68f580c6b873b841489502b5ce51364fe2..f416585f6c922fb11bdc11cf0813339ab2f2383e 100644 --- a/views/healthProject/man_anime.html +++ b/views/healthProject/man_anime.html @@ -31,7 +31,7 @@
- +
diff --git a/views/healthProject/mentalityTeacher.html b/views/healthProject/mentalityTeacher.html index 566549bdf8fae810809c1a81066000687cb338f6..1bf5b58ed0d1ff76389da1294b0e6e440d492657 100644 --- a/views/healthProject/mentalityTeacher.html +++ b/views/healthProject/mentalityTeacher.html @@ -3,8 +3,108 @@ Title + + + + + + + + + +{{template "nav-top" .}} + +
+ +
+
心理健康专业咨询老师
+
+

+ 你有任何心理上的问题,欢迎随时和我们的老师进行沟通,可以直接通过手机号码,或者到达联系地址的地方,进行您的心理咨询~

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
ID姓名手机号联系地址
1122334334 + 预约 +
+ +
+
+ +{{template "footer" .}} - \ No newline at end of file + + diff --git a/views/healthProject/treeHole.html b/views/healthProject/treeHole.html index 566549bdf8fae810809c1a81066000687cb338f6..49fa6bafb0b67fd28c5cfb13757b0f48484a53d4 100644 --- a/views/healthProject/treeHole.html +++ b/views/healthProject/treeHole.html @@ -1,10 +1,59 @@ - + - - Title + + + 看板娘登陆平台 + + + + + + + +{{template "nav-top" .}} + + +
+
+
+

心灵树洞

+
+
+ +
+ +
+
- \ No newline at end of file + + + + + diff --git a/views/healthProject/viewMore.html b/views/healthProject/viewMore.html deleted file mode 100644 index aec84c3ef9b59e0d2f2b421a5e5529a160d82278..0000000000000000000000000000000000000000 --- a/views/healthProject/viewMore.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - 查看更多 - - - - - \ No newline at end of file diff --git a/views/healthProject/viewMorePro.html b/views/healthProject/viewMorePro.html new file mode 100644 index 0000000000000000000000000000000000000000..9e7b77f5d94a3a7c5248393535df93281b0659cb --- /dev/null +++ b/views/healthProject/viewMorePro.html @@ -0,0 +1,31 @@ + + + + + 查看更多 + + + + + + + + + + + + + + +{{template "nav-top" .}} + + +{{template "footer" .}} + + + \ No newline at end of file diff --git a/views/healthTest/bmi.html b/views/healthTest/bmi.html new file mode 100644 index 0000000000000000000000000000000000000000..d9fd636ae3bf1b8438a0b253fd48869f93aabd9d --- /dev/null +++ b/views/healthTest/bmi.html @@ -0,0 +1,136 @@ + + + + + 标准身高体重计算器BMI + + + + + + + + + + + + + + + + + +{{template "nav-top" .}} + + + +
+ +
+
标准身高体重计算器BMI
+

按要求输入即可

+
+
+ 身高 + +
+
+ +
+ 体重 + +
+
+ +
+
+ 性别: + + + +
+
+
+ + +
+
+ 计算标准: + + + + + +
+
+
+ + +
+ +
+
+ +
+ + +
+
+

测试结果----

+

这是左边测试的结果展示区

+ +

+ + +

+ + +

+ +

+ +

+ +

+

+
+ +
+
+
+ +{{template "footer" .}} + + + diff --git a/views/healthTest/healthTest02.html b/views/healthTest/bmr.html similarity index 63% rename from views/healthTest/healthTest02.html rename to views/healthTest/bmr.html index a15938e4aa00648a155ca51428f4d7ee0c9db9c9..0a76bab9a14eced265d7520c2184fe6914c8f6f2 100644 --- a/views/healthTest/healthTest02.html +++ b/views/healthTest/bmr.html @@ -12,7 +12,10 @@ - + + + + + + + + + +{{template "nav-top" .}} + + + + +
+ + +

友情说明

+

测试仅供参考,每个人的审美标准都不一样,但在追求美丽的道路上,需要时刻注意健康问题, + 切不可操之过急。减肥塑性是一场持久战,是一个漫长的过程,请坚信,营养均衡的轻饮食可以拥抱更美好的自己!

+
+ + +{{template "footer" .}} + + + + diff --git a/views/healthEat/other.html b/views/heathNews/moreNews.html similarity index 70% rename from views/healthEat/other.html rename to views/heathNews/moreNews.html index e77271ecd4a826d62f361a4ea3ab858d3649cb5f..30142c1e320ab3814f8034752fac9f1a832938d6 100644 --- a/views/healthEat/other.html +++ b/views/heathNews/moreNews.html @@ -2,7 +2,7 @@ - 其他 + 更改文章 diff --git a/views/heathNews/news1.html b/views/heathNews/news1.html new file mode 100644 index 0000000000000000000000000000000000000000..5d901997b8f2b603546e61cf2717b9adc550d957 --- /dev/null +++ b/views/heathNews/news1.html @@ -0,0 +1,71 @@ + + + + + 心理健康文章 + + + + + + + + + + + + +{{template "nav-top" .}} +
+ +
+
+
良好的心态,最成功的健康
+
+ 最好的医生是自己,保持良好的心态,就是最成功的健康。我们在生活中,谈起健康,首先,我们会想到的是身体或智力,即外在的健康,殊不知,心理健康才是最重要的健康。一个人,空有一副好的躯体与聪明才智,却含有一颗残缺的心,那么这个人是极度不健康的,而反过来,一个人躯体或智力存有缺陷,但是他心态正常,那么他也是一个很健康的人。 +
+
+ 近日,广东省南方医科大学发生了一起命案。一名大三的学生持刀砍人,导致一人当场死亡,而一人因抢救无效也离开了世界。令人惊讶地是:杀人者已经通过了中山大学研究生的初试,即将要进行复试了,成功的大道近在眼前,是什么让他笔走偏锋,不惜以前途为代价而杀人呢?无疑,是他不健康的心理。从报道中我们可知,尽管他的学习不错,但是他与舍友、相关同学、甚至老师的关系都很差。他对待人和事的心理都不正常,做事偏激冲动。最终让他走上了错误的路,跌落到无边的黑暗之中。也给三个家庭带来了无边的伤害。 + 有些人,亏上天给了他们健康的躯体与非凡的智力,却不懂珍惜。有些人,面对上天给予的考验——身体上的残缺,以积极健康的心态去面对,终让自己的人生散发出夺目的光彩!著名作家海伦凯勒,在幼时就丧失了视力、听力、声音。但是她以正确的心态来对待这些外在的残缺。利用嗅觉、触觉、味觉来感知世界。写出了无数动人的诗篇,鼓舞着无数人!她虽说躯体算不了健康,但是她的心态尤为健康积极,这足以让她成为一个十分健康的人! + 躯体的残缺并不可怕,可怕的是你自己都对积极的残缺感到无所适从,没有积极向上的心,只有落寞低沉的情。健康是多样的,它包括躯体与智力等外在的健康,也包括心理上的健康。而后者往往更重要,有了健康的心态,便有了战胜一切的信心,躯体上的残缺对我们的阻碍就不堪一击了! + 让我们保持心理健康吧,心理健康,受益你我他! +
+
+ +
+
+{{template "footer" .}} + + + + + + + \ No newline at end of file diff --git a/views/heathNews/news2.html b/views/heathNews/news2.html new file mode 100644 index 0000000000000000000000000000000000000000..4c0c3aa5736c0a7db06b9ae470708aa978430fb3 --- /dev/null +++ b/views/heathNews/news2.html @@ -0,0 +1,98 @@ + + + + + + 心理健康文章 + + + + + + + + + + + + + +{{template "nav-top" .}} + +
+
+
+
面朝大海,春暖花开
+
+ 面朝大海,春暖花开,你为自己描绘了桃花源般的精神家园。我们以为你的内心阳光明媚,我们以为你的人生桃花朵朵开。可我们没有想到,你会作出那样的选择!多少人为你握腕叹息,多少人暗中为你哭泣。你,一个满腹经纶的旷世奇才,为世人留下美丽的诗篇,自己却长眠于冰冷的铁轨。可悲可叹,海子。我们读懂你的诗句,却读不懂你内心的忧郁。或许,你忧郁的眼睛常常诉说着你对生活的不满,对情感的无奈。可是,你为什么不把你的内心世界展现给你的亲人或朋友?难道是对他们的不信任?或是,孤独的你已经习惯于孤独地咀嚼自己的孤独?我们不明白,你可以写出无数的经典之作,却不能道出你内心的苦闷?我们也不赞同,你用轻生的方式来倾诉你哭泣的内心。 +
+
+ + 有人说,你是一个有心理疾病的人。但我说,你是一个内心封闭的人。内心封闭使你看不到外面的阳光,使你只会一个人躲在阴暗的角落独自饮泪。 + 现在,回想已随风而去的你,我们只有感叹。 +
+
+
+
+
+ +
+ +
+ + + + + + + \ No newline at end of file diff --git a/views/heathNews/news3.html b/views/heathNews/news3.html new file mode 100644 index 0000000000000000000000000000000000000000..bd803c3cf7c5a92b573d2735c37b80b64eae6f0a --- /dev/null +++ b/views/heathNews/news3.html @@ -0,0 +1,88 @@ + + + + + 心理健康文章 + + + + + + + + + + + + + +{{template "nav-top" .}} + +
+
+
+
爆米花话题:心理健康(自卑、孤僻、承受力……)
+
+ 爆米花 +
+ 我本是袋中白米一粒,无忧无虑,何曾想到要承受压力?!看着漂亮的主人端着我欣然将我放在黑乎乎的爆米机旁,看着这铁制的家伙,再瞧瞧那红红的炭火,我心颤抖啊! +
+
+ + “考试啦!考试啦!”晚自习上我大呼我狂叫。可谁不知道明天就考试呀!同学们都不予理睬。就像孙悟空负山前行似的,疲惫的我生怕自己倒下,我人不停地说着话,好像只有这样,我的血液方能流淌。 +
+
+ 突然,“嘭”的一声,吓得我心惊胆战,随之一阵白烟扩散开来,许多小朋友蜂拥上前……而我呢,则与其他伙伴被小主人毫不留情地一股脑倒进了大黑炉里。随之,啪!一声脆响。果然不出我所料:黑炉子给了我黑色的眼睛!同伴们也如此,迷惘又迷惘,谁知道一会儿又将怎样? + 站在窗前,我翘首观望,原本应是繁星点点、银河漫天的迷人星空,却被这繁华的城市灯火照的模糊。教学楼则灯火通明,照彻了校园的黑暗。 +

+ 我们在炽热的黑炉里滚来滚去,这刻不知下刻的命,真是要多难受有多难受。再加上干渴难耐,我的身体渐渐膨胀,兄弟们亦是如此,我们的空间急剧紧缩,大家难以呼吸下去。

+ 夜晚,我坐在桌前,回想白天老师说过的话:“这次考试一定十分严格,过后我会把你的各科成绩都排出来开家长会。”怎么办呢?我的思绪开始飞扬——假若有一双天使的翅膀,假若能有“桃花源”,假若永远不再考试,假若…… + “难兄难弟们,我们生在这个时代真是不幸啊!想我们的祖辈,他们多么幸福啊!”我们的大哥压着嗓子说。“就是”,我也附和着:“人们都说世界在进步,难道真的进步吗?若进步干吗还让我们受这份罪!”

+ 第二天,我静静地来到考场,轻轻地坐在座位上,等待着,默默无言的等待着。整齐的桌椅也静静的,给人以庄严的感觉。沉默啊,沉默…… + 火热的感觉渐渐地缓了下来,“嘭”!炉盖打开了,随之,我们被一股强大的热气冲到了袋子里。紧接着,光明来了!一群小朋友又蜂拥而上,将我和同伴们抓起。我们互相瞅瞅,咦?我们怎么变得如此美丽了呢?!为什么我在稻田里长不成这样子?一个小朋友捏起我一闻:“真香啊!” + 原来,没有压力,我是不会开花的! +
+
+
+
+
+ +
+ +
+ + + + + + + \ No newline at end of file diff --git a/views/index.html b/views/index.html deleted file mode 100644 index 40d7a327c1c72f6f821599350638070fd16170e9..0000000000000000000000000000000000000000 --- a/views/index.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - - - - - - - - - -
- -
- -
- - -
- - -

健康说  心灵是欣赏世界的眼睛

-

必须明白是自己创造了自己的每一个“情绪”,掌握了自己的情绪,也就掌握了自己的生活。心理健康有助于我们更好的适应新环境,结交新朋友,健康的心理能使我们更加的独立,让我们能更加客观地评价身边的事物,脚踏实地,对自己有信心,对生活热情,能够很好地自我管理!

-

健康说平台坚持“你的心理困扰,我来为你纾解”的信念,不断加深心理健康的研究和知识储备, - 为所有广大学子免费提供包含健康测试、心理健康测试、减压大本营、问卷调查、心灵树洞、专业心理咨询师的整体方案,专注于学生的心理健康教育!

-
-
- - -
-
- -

心理健康十条标准

-
-

美国心理学家马斯洛和米特尔曼提出的心理健康的十条标准被公认为是“最经典的标准” :

-
- - -
    -
  • 充分的安全感
  • -
  • 充分了解自己,并对自己的能力作适当的估价
  • -
  • 生活的目标切合实际
  • -
  • 与现实的环境保持接触
  • -
  • 能保持人格的完整与和谐
  • -
  • 具有从经验中学习的能力
  • -
  • 能保持良好的人际关系
  • -
  • 适度的情绪表达与控制
  • -
  • 在不违背社会规范的条件下,对个人的基本需要作恰当的满足
  • -
  • 在集体要求的前提下,较好地发挥自己的个性
  • -
-
- - - - -
- - - - - diff --git a/views/index/index.html b/views/index/index.html new file mode 100644 index 0000000000000000000000000000000000000000..8c5c1611f7aef8486fa45f50fb2f3c37ab53adb6 --- /dev/null +++ b/views/index/index.html @@ -0,0 +1,127 @@ + + + + + + + + + + + + + +{{template "nav-top" .}} + + +
+ +
+ +
+ + +
+ + +

健康说  心灵是欣赏世界的眼睛

+

+ 必须明白是自己创造了自己的每一个“情绪”,掌握了自己的情绪,也就掌握了自己的生活。心理健康有助于我们更好的适应新环境,结交新朋友,健康的心理能使我们更加的独立,让我们能更加客观地评价身边的事物,脚踏实地,对自己有信心,对生活热情,能够很好地自我管理!

+

健康说平台坚持“你的心理困扰,我来为你纾解”的信念,不断加深心理健康的研究和知识储备, + 为所有广大学子免费提供包含健康测试、心理健康测试、减压大本营、问卷调查、心灵树洞、专业心理咨询师的整体方案,专注于学生的心理健康教育!

+
+
+ + +
+
+ +

心理健康十条标准

+
+

美国心理学家马斯洛和米特尔曼提出的心理健康的十条标准被公认为是“最经典的标准” :

+
+ + +
    +
  • 充分的安全感
  • +
  • 充分了解自己,并对自己的能力作适当的估价
  • +
  • 生活的目标切合实际
  • +
  • 与现实的环境保持接触
  • +
  • 能保持人格的完整与和谐
  • +
  • 具有从经验中学习的能力
  • +
  • 能保持良好的人际关系
  • +
  • 适度的情绪表达与控制
  • +
  • 在不违背社会规范的条件下,对个人的基本需要作恰当的满足
  • +
  • 在集体要求的前提下,较好地发挥自己的个性
  • +
+
+ + + + +
+ + + {{template "footer" .}} + + + + {{ if ne .data.Name "" }} + + {{ end }} + + + + + + +
+ + + diff --git a/views/login.html b/views/login.html deleted file mode 100644 index 26c644eea3489bf9a3127ba8e8c95ccf3c352ef6..0000000000000000000000000000000000000000 --- a/views/login.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - 看板娘登陆平台 - - - - - - - - - - - - - - -
-

Health Say 登录平台

- - -
- - -
- -
-
-   - -
-

Health Say@2022

-
- - - - diff --git a/views/mentalityHealthTests/viewMore.html b/views/mentalityHealthTests/viewMore.html deleted file mode 100644 index aec84c3ef9b59e0d2f2b421a5e5529a160d82278..0000000000000000000000000000000000000000 --- a/views/mentalityHealthTests/viewMore.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - 查看更多 - - - - - \ No newline at end of file diff --git a/views/mentalityTests/analysis.html b/views/mentalityTests/analysis.html new file mode 100644 index 0000000000000000000000000000000000000000..0bbf44be6a72d2fcf0bd0a2514f1c3c6df344aef --- /dev/null +++ b/views/mentalityTests/analysis.html @@ -0,0 +1,24 @@ + + + + + 性格测试结果 + + + + + + + + + + + + + + + + +{{ .path }} + + \ No newline at end of file diff --git a/views/mentalityHealthTests/mentalityTest01.html b/views/mentalityTests/mentalityTest01.html similarity index 100% rename from views/mentalityHealthTests/mentalityTest01.html rename to views/mentalityTests/mentalityTest01.html diff --git a/views/mentalityHealthTests/mentalityTest02.html b/views/mentalityTests/mentalityTest02.html similarity index 100% rename from views/mentalityHealthTests/mentalityTest02.html rename to views/mentalityTests/mentalityTest02.html diff --git a/views/mentalityHealthTests/mentalityTest03.html b/views/mentalityTests/mentalityTest03.html similarity index 100% rename from views/mentalityHealthTests/mentalityTest03.html rename to views/mentalityTests/mentalityTest03.html diff --git a/views/mentalityTests/questions.html b/views/mentalityTests/questions.html new file mode 100644 index 0000000000000000000000000000000000000000..810f18aafeb20e6b2661c88a6056b8f9a992fdf1 --- /dev/null +++ b/views/mentalityTests/questions.html @@ -0,0 +1,194 @@ + + + + + 性格测试 + + + + + + + + + + + + +{{template "nav-top" .}} + +
+ + + + {{ .path }} +
+ +
+
+ +
+ +
+ +
+
+ +
+
+

测试结果----

+

这是性格测试的结果展示区

+

+ +

+ +

+ +
+ +
+ +
+ + +
+ +
+
+ + + + diff --git a/views/mentalityTests/viewMoreTest.html b/views/mentalityTests/viewMoreTest.html new file mode 100644 index 0000000000000000000000000000000000000000..efae127554c260843bbb30f79aca569047d912cc --- /dev/null +++ b/views/mentalityTests/viewMoreTest.html @@ -0,0 +1,24 @@ + + + + + 查看更多 + + + + + + +{{template "nav-top" .}} + + +查看更多心理测试 +{{template "footer" .}} + + + \ No newline at end of file diff --git a/views/nav-top.html b/views/nav-top.html deleted file mode 100644 index 27fe61eddcd67e7d5952cdacdd6bdf2638a33c16..0000000000000000000000000000000000000000 --- a/views/nav-top.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - diff --git a/views/user/my.html b/views/user/my.html new file mode 100644 index 0000000000000000000000000000000000000000..32308560a505f15c01b0f06fba8fa7bc5aab8021 --- /dev/null +++ b/views/user/my.html @@ -0,0 +1,67 @@ + + + + + 个人中心 + + + + + + + + + + +{{template "nav-top" .}} +
+
    +
  • 昵称:
  • +
  • 手机号:
  • +
  • 邮箱:
  • +
  • 创建时间:
  • +
+
+ +{{template "footer" .}} + + + + \ No newline at end of file diff --git a/views/user/myStar.html b/views/user/myStar.html new file mode 100644 index 0000000000000000000000000000000000000000..29aa1d370b55207e4507eecf15fddf5d7513d986 --- /dev/null +++ b/views/user/myStar.html @@ -0,0 +1,21 @@ + + + + + 个人收藏 + + + + +{{template "nav-top" .}} +我是个人收藏 +{{template "footer" .}} + + + + \ No newline at end of file