├── demo
├── result
│ └── demo.png
├── image
│ ├── IMG_1190.JPG
│ ├── IMG_1191.JPG
│ ├── IMG_1193.JPG
│ ├── IMG_1194.JPG
│ ├── IMG_1195.JPG
│ ├── IMG_1196.JPG
│ ├── IMG_1197.JPG
│ └── IMG_1198.JPG
└── sql
│ ├── brand.sql
│ ├── category.sql
│ ├── user.sql
│ ├── address.sql
│ ├── order.sql
│ └── product.sql
├── web
├── src
│ ├── assets
│ │ ├── back.png
│ │ └── logo.png
│ ├── views
│ │ ├── order
│ │ │ ├── RefundProcess.vue
│ │ │ ├── OrderDetail.vue
│ │ │ └── OrderList.vue
│ │ ├── result
│ │ │ └── ResultPage.vue
│ │ ├── Home.vue
│ │ ├── user
│ │ │ ├── ChangePassword.vue
│ │ │ └── UserManage.vue
│ │ ├── Login.vue
│ │ └── product
│ │ │ ├── BrandManage.vue
│ │ │ ├── AddProduct.vue
│ │ │ ├── CategoryManage.vue
│ │ │ ├── EditProduct.vue
│ │ │ └── ProductList.vue
│ ├── App.vue
│ ├── main.js
│ ├── components
│ │ ├── Steps.vue
│ │ ├── Header.vue
│ │ ├── Tabs.vue
│ │ └── Menu.vue
│ ├── axios
│ │ └── axios.js
│ ├── store
│ │ └── index.js
│ └── router
│ │ └── index.js
├── babel.config.js
├── vue.config.js
├── public
│ └── index.html
└── package.json
├── server
├── config
│ ├── server.go
│ ├── jwt.go
│ ├── upload.go
│ ├── mysql.go
│ └── config.go
├── models
│ ├── brand_option.go
│ ├── brand_param.go
│ ├── brand_list.go
│ ├── category_option.go
│ ├── category_list.go
│ ├── common.go
│ ├── product_item.go
│ ├── user_list.go
│ ├── order_list.go
│ ├── category_param.go
│ ├── product_list.go
│ ├── address.go
│ ├── order_detail.go
│ ├── product_info.go
│ ├── order_param.go
│ ├── user_param.go
│ └── product_param.go
├── main.go
├── common
│ ├── time.go
│ ├── captcha.go
│ ├── page.go
│ └── jwt.go
├── global
│ └── global.go
├── config.yaml
├── api
│ ├── upload.go
│ ├── order.go
│ ├── brand.go
│ ├── category.go
│ ├── product.go
│ └── user.go
├── initialize
│ ├── load.go
│ ├── gorm.go
│ └── router.go
├── middleware
│ ├── jwt.go
│ └── cors.go
├── response
│ └── response.go
├── service
│ ├── user.go
│ ├── brand.go
│ ├── order.go
│ ├── category.go
│ └── product.go
├── go.mod
└── go.sum
├── .gitignore
├── LICENSE
└── README.md
/demo/result/demo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/result/demo.png
--------------------------------------------------------------------------------
/demo/image/IMG_1190.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1190.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1191.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1191.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1193.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1193.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1194.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1194.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1195.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1195.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1196.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1196.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1197.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1197.JPG
--------------------------------------------------------------------------------
/demo/image/IMG_1198.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/demo/image/IMG_1198.JPG
--------------------------------------------------------------------------------
/web/src/assets/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/web/src/assets/back.png
--------------------------------------------------------------------------------
/web/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PoolerZhao/mall/HEAD/web/src/assets/logo.png
--------------------------------------------------------------------------------
/web/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/cli-plugin-babel/preset'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/server/config/server.go:
--------------------------------------------------------------------------------
1 | package config
2 |
3 | type Server struct {
4 | Post string `mapstructure:"post"`
5 | }
6 |
--------------------------------------------------------------------------------
/server/config/jwt.go:
--------------------------------------------------------------------------------
1 | package config
2 |
3 | type Jwt struct {
4 | SigningKey string `mapstructure:"signing-key"`
5 | }
6 |
--------------------------------------------------------------------------------
/web/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | devServer: {
3 | disableHostCheck: true
4 | },
5 | publicPath: '/'
6 | }
7 |
--------------------------------------------------------------------------------
/server/models/brand_option.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type BrandOption struct {
4 | Id uint `json:"id"`
5 | Name string `json:"name"`
6 | }
7 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ### Node
2 | node_modules
3 | /dist
4 |
5 | ### IDEA ###
6 | .idea
7 |
8 | ### MacOS ###
9 | .DS_Store
10 |
11 | ### VS Code ###
12 | .vscode/
--------------------------------------------------------------------------------
/server/config/upload.go:
--------------------------------------------------------------------------------
1 | package config
2 |
3 | type Upload struct {
4 | SavePath string `mapstructure:"save-path"`
5 | AccessUrl string `mapstructure:"access-url"`
6 | }
7 |
--------------------------------------------------------------------------------
/server/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "mall.com/initialize"
4 |
5 | func main() {
6 | initialize.LoadConfig()
7 | initialize.Mysql()
8 | initialize.Router()
9 | }
10 |
--------------------------------------------------------------------------------
/server/common/time.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | import "time"
4 |
5 | // NowTime 时间格式化
6 | func NowTime() string {
7 | return time.Now().Format("2006-01-02 15:04:05")
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/server/global/global.go:
--------------------------------------------------------------------------------
1 | package global
2 |
3 | import (
4 | "gorm.io/gorm"
5 | "mall.com/config"
6 | )
7 |
8 | var (
9 | Config config.Config
10 | Db *gorm.DB
11 | )
12 |
13 |
--------------------------------------------------------------------------------
/server/config/mysql.go:
--------------------------------------------------------------------------------
1 | package config
2 |
3 | type Mysql struct {
4 | Username string `mapstructure:"username"`
5 | Password string `mapstructure:"password"`
6 | Url string `mapstructure:"url"`
7 | }
8 |
--------------------------------------------------------------------------------
/server/models/brand_param.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type BrandParam struct {
4 | Id uint `form:"id" json:"id"`
5 | Name string `form:"name" json:"name"`
6 | Sort int `form:"sort" json:"sort"`
7 | }
8 |
--------------------------------------------------------------------------------
/server/models/brand_list.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type BrandList struct {
4 | Id uint `json:"id"`
5 | Name string `json:"name"`
6 | Sort int `json:"sort"`
7 | Created string `json:"created"`
8 | }
9 |
--------------------------------------------------------------------------------
/server/models/category_option.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type CategoryOption struct {
4 | Value uint `json:"value"`
5 | Label string `json:"label"`
6 | Children []CategoryOption `json:"children"`
7 | }
8 |
--------------------------------------------------------------------------------
/server/config/config.go:
--------------------------------------------------------------------------------
1 | package config
2 |
3 | type Config struct {
4 | Server Server `mapstructure:"server"`
5 | Mysql Mysql `mapstructure:"mysql"`
6 | Upload Upload `mapstructure:"upload"`
7 | Jwt Jwt `mapstructure:"jwt"`
8 | }
9 |
--------------------------------------------------------------------------------
/server/models/category_list.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type CategoryList struct {
4 | Id uint `json:"id"`
5 | Name string `json:"name"`
6 | ParentId uint `json:"parentId"`
7 | Level int `json:"level"`
8 | Sort int `json:"sort"`
9 | }
10 |
--------------------------------------------------------------------------------
/server/models/common.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | // 主键请求参数
4 | type PrimaryKey struct {
5 | Id uint `form:"id" json:"id"`
6 | }
7 |
8 | // 页面请求参数
9 | type Page struct {
10 | PageNum int `form:"pageNum" json:"pageNum"`
11 | PageSize int `form:"pageSize" json:"pageSize"`
12 | }
--------------------------------------------------------------------------------
/server/models/product_item.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type ProductItem struct {
4 | Id uint `gorm:"primaryKey" json:"id"`
5 | ImageUrl string `gorm:"imageUrl" json:"imageUrl"`
6 | Name string `gorm:"name" json:"name"`
7 | Price float64 `gorm:"price" json:"price"`
8 | }
9 |
--------------------------------------------------------------------------------
/web/src/views/order/RefundProcess.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
--------------------------------------------------------------------------------
/server/models/user_list.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type UserList struct {
4 | Id uint `json:"id"`
5 | Avatar string `json:"avatar"`
6 | Username string `json:"username"`
7 | Role string `json:"role"`
8 | Status int `json:"status"`
9 | Created string `json:"created"`
10 | }
11 |
--------------------------------------------------------------------------------
/server/models/order_list.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type OrderList struct {
4 | Id uint `json:"id"`
5 | PaymentStatus int `json:"paymentStatus"`
6 | Status string `json:"status"`
7 | TotalPrice float64 `json:"totalPrice"`
8 | Created string `json:"created"`
9 | }
10 |
--------------------------------------------------------------------------------
/server/models/category_param.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type CategoryParam struct {
4 | Id uint `form:"id" json:"id"`
5 | Name string `form:"name" json:"name"`
6 | ParentId uint `form:"parentId" json:"parentId"`
7 | Level int `form:"level" json:"level"`
8 | Sort int `form:"sort" json:"sort"`
9 | }
10 |
--------------------------------------------------------------------------------
/server/models/product_list.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type ProductList struct {
4 | Id uint `json:"id"`
5 | Title string `json:"title"`
6 | Price float64 `json:"price"`
7 | Amount int `json:"amount"`
8 | ImageUrl string `json:"imageUrl"`
9 | Sales int `json:"sales"`
10 | Status int `json:"status"`
11 | Created string `json:"created"`
12 | }
13 |
--------------------------------------------------------------------------------
/server/config.yaml:
--------------------------------------------------------------------------------
1 | # 启动端口号
2 | server:
3 | post: 8000
4 |
5 | # MySQL数据源配置
6 | mysql:
7 | username: root
8 | password: 123456789
9 | url: tcp(localhost:3306)/mall?charset=utf8&parseTime=True&loc=Local
10 |
11 | # 图片路径配置
12 | upload:
13 | save-path: /Users/zchengo/resource/images/
14 | access-url: http://localhost:8000/image/
15 |
16 | # JWT配置
17 | jwt:
18 | signing-key: z3d6k8v0n3w7m9sa1fd0u09h
--------------------------------------------------------------------------------
/web/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
23 |
--------------------------------------------------------------------------------
/web/src/main.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue';
2 | import ElementPlus from 'element-plus';
3 | import 'element-plus/lib/theme-chalk/index.css';
4 | import App from './App.vue';
5 | import router from './router/index';
6 | import request from './axios/axios';
7 | import store from "./store/index";
8 |
9 | const app = createApp(App)
10 | app.use(ElementPlus)
11 | app.use(router)
12 | app.use(store)
13 | app.config.globalProperties.$axios = request;
14 | app.mount('#app')
--------------------------------------------------------------------------------
/web/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | <%= htmlWebpackPlugin.options.title %>
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/common/captcha.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | import "github.com/mojocn/base64Captcha"
4 |
5 | var store = base64Captcha.DefaultMemStore
6 | var driver = base64Captcha.NewDriverDigit(40, 120, 4, 0.7, 80)
7 |
8 | // GenerateCaptcha 生成验证码
9 | func GenerateCaptcha() (id, b64s string, err error) {
10 | return base64Captcha.NewCaptcha(driver, store).Generate()
11 | }
12 |
13 | // VerifyCaptcha 验证验证码
14 | func VerifyCaptcha(id, value string) bool {
15 | return store.Verify(id, value, true)
16 | }
17 |
--------------------------------------------------------------------------------
/server/common/page.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | import (
4 | "mall.com/global"
5 | "mall.com/models"
6 | )
7 |
8 | // RestPage 分页查询
9 | // page 设置起始页、每页条数, name 查询目标表的名称
10 | // query 查询条件, dest 查询结果绑定的结构体, bind 绑定表结构对应的结构体
11 | func RestPage(page models.Page, name string, query interface{}, dest interface{}, bind interface{}) int64 {
12 | offset := (page.PageNum - 1) * page.PageSize
13 | global.Db.Offset(offset).Limit(page.PageSize).Table(name).Where(query).Find(dest)
14 | return global.Db.Table(name).Where(query).Find(bind).RowsAffected
15 | }
16 |
--------------------------------------------------------------------------------
/server/api/upload.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/global"
6 | "mall.com/response"
7 | )
8 |
9 | // FileUpload 文件上传
10 | func FileUpload(c *gin.Context) {
11 | file, err := c.FormFile("file")
12 | if err != nil {
13 | response.Failed("上传图片出错", c)
14 | }
15 | image := global.Config.Upload
16 | err = c.SaveUploadedFile(file, image.SavePath + file.Filename)
17 | if err != nil {
18 | return
19 | }
20 | imageURL := image.AccessUrl + file.Filename
21 | response.Success("上传图片成功", imageURL, c)
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/server/initialize/load.go:
--------------------------------------------------------------------------------
1 | package initialize
2 |
3 | import (
4 | "fmt"
5 | "github.com/spf13/viper"
6 | "mall.com/global"
7 | )
8 |
9 | // LoadConfig 加载配置文件
10 | func LoadConfig() {
11 | viper.AddConfigPath("./server/")
12 | viper.SetConfigName("config")
13 | viper.SetConfigType("yaml")
14 | if err := viper.ReadInConfig(); err != nil {
15 | panic(fmt.Errorf("Fatal error resources file: %w \n", err))
16 | }
17 | if err := viper.Unmarshal(&global.Config); err != nil {
18 | panic(fmt.Errorf("unable to decode into struct %w \n", err))
19 | }
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/server/middleware/jwt.go:
--------------------------------------------------------------------------------
1 | package middleware
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/common"
6 | "mall.com/response"
7 | )
8 |
9 | // JwtAuth JWT认证中间件
10 | func JwtAuth() gin.HandlerFunc {
11 | return func(c *gin.Context) {
12 | token := c.Request.Header.Get("token")
13 | if token == "" {
14 | response.Failed("未登录或非法访问", c)
15 | c.Abort()
16 | return
17 | }
18 | if err := common.VerifyToken(token); err != nil {
19 | response.Failed("登录已过期,请重新登录", c)
20 | c.Abort()
21 | return
22 | }
23 | c.Next()
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/server/models/address.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type Address struct {
4 | Id uint `gorm:"primaryKey"`
5 | UserId string `gorm:"userId"`
6 | Name string `gorm:"name"`
7 | Mobile string `gorm:"mobile"`
8 | Province string `gorm:"province"`
9 | City string `gorm:"city"`
10 | District string `gorm:"district"`
11 | DetailedAddress string `gorm:"detailedAddress"`
12 | IsDefault int `gorm:"IsDefault"`
13 | Created string `gorm:"created"`
14 | Updated string `gorm:"updated"`
15 | }
16 |
--------------------------------------------------------------------------------
/server/initialize/gorm.go:
--------------------------------------------------------------------------------
1 | package initialize
2 |
3 | import (
4 | "fmt"
5 | "gorm.io/driver/mysql"
6 | "gorm.io/gorm"
7 | "gorm.io/gorm/schema"
8 | "mall.com/global"
9 | )
10 |
11 | // Mysql 配置MySQl数据库
12 | func Mysql() {
13 | m := global.Config.Mysql
14 | var dsn = fmt.Sprintf("%s:%s@%s", m.Username, m.Password, m.Url)
15 | db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{
16 | NamingStrategy: schema.NamingStrategy{ SingularTable: true },
17 | })
18 | if err != nil {
19 | fmt.Printf("mysql error: %s", err)
20 | return
21 | }
22 | global.Db = db
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/server/models/order_detail.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type OrderDetail struct {
4 |
5 | // 订单信息
6 | Id uint `json:"id"`
7 | Created string `json:"created"`
8 | PaymentStatus int `json:"paymentStatus"`
9 | Status string `json:"status"`
10 |
11 | // 地址信息
12 | Name string `json:"name"`
13 | Mobile string `json:"mobile"`
14 | Province string `json:"province"`
15 | City string `json:"city"`
16 | District string `json:"district"`
17 | DetailedAddress string `json:"detailedAddress"`
18 |
19 | // 商品列表信息
20 | ProductItem []ProductItem `json:"productItem"`
21 | }
22 |
--------------------------------------------------------------------------------
/server/models/product_info.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type ProductInfo struct {
4 | Id uint `json:"id"`
5 | CategoryId uint `json:"categoryId"`
6 | Kind int `json:"kind"`
7 | Title string `json:"title"`
8 | BrandId uint `json:"brandId"`
9 | Name string `json:"name"`
10 | Price float64 `json:"price"`
11 | Amount int `json:"amount"`
12 | Sales int `json:"sales"`
13 | ImageUrl string `json:"imageUrl"`
14 | SendAddress string `json:"sendAddress"`
15 | ParcelType string `json:"parcelType"`
16 | SalesService string `json:"salesService"`
17 | }
18 |
--------------------------------------------------------------------------------
/web/src/components/Steps.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
25 |
26 |
--------------------------------------------------------------------------------
/server/models/order_param.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type OrderParam struct {
4 | Id uint `form:"id" json:"id"`
5 | Amount float64 `form:"amount" json:"amount"`
6 | PaymentStatus int `form:"paymentStatus" json:"paymentStatus"`
7 | ProductCount int `form:"productCount" json:"productCount"`
8 | Total float64 `form:"total" json:"total"`
9 | Status string `form:"status" json:"status"`
10 | UserId uint `form:"userId" json:"userId"`
11 | ProductId uint `form:"productId" json:"productId"`
12 | AddressId uint `form:"addressId" json:"addressId"`
13 | }
14 |
--------------------------------------------------------------------------------
/server/models/user_param.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type UserParam struct {
4 |
5 | Id uint `form:"primaryKey" json:"id"`
6 | Username string `form:"username" json:"username"`
7 | Password string `form:"password" json:"password"`
8 | Avatar string `form:"avatar" json:"avatar"`
9 | Role string `form:"role" json:"role"`
10 | Status int `form:"status" json:"status"`
11 |
12 | OldPassword string `form:"oldPassword" json:"oldPassword"`
13 | NewPassword string `form:"newPassword" json:"newPassword"`
14 |
15 | CaptchaId string `form:"captchaId" json:"captchaId"`
16 | CaptchaValue string `form:"captchaValue" json:"captchaValue"`
17 | }
18 |
--------------------------------------------------------------------------------
/web/src/views/result/ResultPage.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 返回
5 |
6 |
7 |
8 |
9 |
30 |
31 |
--------------------------------------------------------------------------------
/server/common/jwt.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | import (
4 | "github.com/golang-jwt/jwt"
5 | "mall.com/global"
6 | "time"
7 | )
8 |
9 | var SigningKey = []byte(global.Config.Jwt.SigningKey)
10 |
11 | type Claims struct {
12 | Username string `json:"username"`
13 | jwt.StandardClaims
14 | }
15 |
16 | // GenerateToke 生成Token
17 | func GenerateToke(username string) (string, error) {
18 | claims := Claims{username, jwt.StandardClaims{
19 | ExpiresAt: time.Now().Unix() + 60*60,
20 | Issuer: username,
21 | },
22 | }
23 | token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims)
24 | return token.SignedString(SigningKey)
25 | }
26 |
27 | // VerifyToken 验证Token
28 | func VerifyToken(tokenString string) error {
29 | _, err := jwt.ParseWithClaims(tokenString, &Claims{}, func(token *jwt.Token) (interface{}, error) {
30 | return SigningKey, nil
31 | })
32 | return err
33 | }
34 |
35 |
--------------------------------------------------------------------------------
/server/middleware/cors.go:
--------------------------------------------------------------------------------
1 | package middleware
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | )
6 |
7 | // Cors 处理跨域请求
8 | func Cors() gin.HandlerFunc {
9 | return func(c *gin.Context) {
10 | //method := c.Request.Method
11 | origin := c.Request.Header.Get("Origin")
12 | c.Header("Access-Control-Allow-Origin", origin)
13 | c.Header("Access-Control-Allow-Headers", "Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id")
14 | c.Header("Access-Control-Allow-Methods", "POST, GET, OPTIONS,DELETE,PUT")
15 | c.Header("Access-Control-Expose-Headers", "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type")
16 | c.Header("Access-Control-Allow-Credentials", "true")
17 |
18 | // 放行所有OPTIONS方法
19 | //if method == "OPTIONS" {
20 | // c.AbortWithStatus(http.StatusNoContent)
21 | //}
22 | // 处理请求
23 | c.Next()
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/server/response/response.go:
--------------------------------------------------------------------------------
1 | package response
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "net/http"
6 | )
7 |
8 | type Response struct {
9 | Code int `json:"code"`
10 | Message string `json:"message"`
11 | Data interface{} `json:"data"`
12 | }
13 |
14 | // 分页结果返回
15 | type PageResult struct {
16 | Total int64 `json:"total"`
17 | List interface{} `json:"list"`
18 | }
19 |
20 | // 请求成功返回
21 | func Success(message string, data interface{}, c *gin.Context) {
22 | c.JSON(http.StatusOK, Response{200, message, data})
23 | }
24 |
25 | // 请求失败返回
26 | func Failed(message string, c *gin.Context) {
27 | c.JSON(http.StatusOK, Response{400, message, 0})
28 | }
29 |
30 | // 请求成功返回分页结果
31 | func SuccessPage(message string, data interface{}, rows int64, c *gin.Context) {
32 | page := &PageResult{Total: rows, List: data}
33 | c.JSON(http.StatusOK, Response{200, message, page})
34 | }
35 |
--------------------------------------------------------------------------------
/server/models/product_param.go:
--------------------------------------------------------------------------------
1 | package models
2 |
3 | type ProductParam struct {
4 | Id uint `form:"id" json:"id"`
5 | CategoryId uint `form:"categoryId" json:"categoryId"`
6 | Kind int `form:"kind" json:"kind"`
7 | Title string `form:"title" json:"title"`
8 | BrandId uint `form:"brandId" json:"brandId"`
9 | Name string `form:"name" json:"name"`
10 | Price float64 `form:"price" json:"price"`
11 | Amount int `form:"amount" json:"amount"`
12 | ImageUrl string `form:"imageUrl" json:"imageUrl"`
13 | SendAddress string `form:"sendAddress" json:"sendAddress"`
14 | ParcelType string `form:"parcelType" json:"parcelType"`
15 | SalesService string `form:"salesService" json:"salesService"`
16 | CreatorId uint `form:"creatorId" json:"creatorId"`
17 | Status int `form:"status" json:"status"`
18 | }
19 |
--------------------------------------------------------------------------------
/web/src/axios/axios.js:
--------------------------------------------------------------------------------
1 | import axios from "axios";
2 | import { ElMessage } from 'element-plus';
3 |
4 | axios.defaults.baseURL = "http://localhost:8000";
5 |
6 | const request = axios.create({
7 | timeout: 5000,
8 | headers: {
9 | 'Content-Type': 'application/json;charset=UTF-8'
10 | }
11 | });
12 |
13 | request.interceptors.request.use(config => {
14 | config.headers['token'] = localStorage.getItem('token')
15 | return config
16 | })
17 |
18 | request.interceptors.response.use(response => {
19 | if (response.data.code === 200){
20 | console.log(response)
21 | let msg = response.data.message
22 | if (msg === "登录成功" || msg === "创建成功" || msg === "删除成功" || msg === "更新成功"){
23 | ElMessage.success(response.data.message)
24 | }
25 | return response;
26 | } else {
27 | ElMessage.error(response.data.message)
28 | console.log(response)
29 | return Promise.reject(response)
30 | }
31 | },error => {
32 | console.log(error)
33 | return Promise.reject(error)
34 | })
35 |
36 | export default request;
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 zchengo
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/server/api/order.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/models"
6 | "mall.com/response"
7 | "mall.com/service"
8 | )
9 |
10 | var order service.Order
11 |
12 | // DeleteOrder 删除订单
13 | func DeleteOrder(c *gin.Context) {
14 | var key models.PrimaryKey
15 | _ = c.Bind(&key)
16 | count := order.Delete(key.Id)
17 | if count > 0 {
18 | response.Success("删除成功", count, c)
19 | }
20 | response.Failed("删除失败", c)
21 | }
22 |
23 | // UpdateOrder 更新订单
24 | func UpdateOrder(c *gin.Context) {
25 | var param models.OrderParam
26 | _ = c.ShouldBindJSON(param)
27 | count := order.Update(param)
28 | if count > 0 {
29 | response.Success("更新成功", count, c)
30 | }
31 | response.Failed("更新失败", c)
32 | }
33 |
34 | // GetOrderList 获取订单列表
35 | func GetOrderList(c *gin.Context) {
36 | var page models.Page
37 | _ = c.Bind(&page)
38 | orderList, row := order.GetList(page)
39 | response.SuccessPage("操作成功", orderList, row, c)
40 | }
41 |
42 | // GetOrderDetail 获取订单详情
43 | func GetOrderDetail(c *gin.Context) {
44 | var param models.OrderParam
45 | _ = c.Bind(¶m)
46 | orderDetail := order.GetDetail(param.Id)
47 | response.Success("操作成功", orderDetail, c)
48 | }
--------------------------------------------------------------------------------
/web/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gomall",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "serve": "vue-cli-service serve",
7 | "build": "vue-cli-service build",
8 | "lint": "vue-cli-service lint"
9 | },
10 | "dependencies": {
11 | "@vue/compiler-sfc": "^3.0.11",
12 | "axios": "^0.21.4",
13 | "core-js": "^3.6.5",
14 | "echarts": "^5.1.2",
15 | "element-plus": "^1.0.2-beta.71",
16 | "moment": "^2.29.1",
17 | "postcss": "^8.3.0",
18 | "qs": "^6.10.1",
19 | "vue": "^3.0.11",
20 | "vue-axios": "^3.2.4",
21 | "vue-router": "^4.0.8",
22 | "vuex": "^4.0.2"
23 | },
24 | "devDependencies": {
25 | "@vue/cli-plugin-babel": "~4.5.0",
26 | "@vue/cli-plugin-eslint": "~4.5.0",
27 | "@vue/cli-service": "~4.5.0",
28 | "babel-eslint": "^10.1.0",
29 | "eslint": "^6.7.2",
30 | "eslint-plugin-vue": "^6.2.2",
31 | "vue-template-compiler": "^2.6.11"
32 | },
33 | "eslintConfig": {
34 | "root": true,
35 | "env": {
36 | "node": true
37 | },
38 | "extends": [
39 | "plugin:vue/essential",
40 | "eslint:recommended"
41 | ],
42 | "parserOptions": {
43 | "parser": "babel-eslint"
44 | },
45 | "rules": {}
46 | },
47 | "browserslist": [
48 | "> 1%",
49 | "last 2 versions",
50 | "not dead"
51 | ]
52 | }
53 |
--------------------------------------------------------------------------------
/server/service/user.go:
--------------------------------------------------------------------------------
1 | package service
2 |
3 | import (
4 | "mall.com/common"
5 | "mall.com/global"
6 | "mall.com/models"
7 | )
8 |
9 | type User struct {
10 | Id uint `gorm:"primaryKey"`
11 | Username string `gorm:"username"`
12 | Password string `gorm:"password"`
13 | Avatar string `gorm:"avatar"`
14 | Role string `gorm:"role"`
15 | Status int `gorm:"status"`
16 | Created string `gorm:"created"`
17 | Updated string `gorm:"updated"`
18 | }
19 |
20 | func (u *User) Login(param models.UserParam) int64 {
21 | query := map[string]interface{}{
22 | "username": param.Username,
23 | "password": param.Password,
24 | }
25 | return global.Db.Where(query).First(&User{}).RowsAffected
26 | }
27 |
28 | func (u *User) Update(param models.UserParam) int64 {
29 | user := User{
30 | Id: param.Id,
31 | Role: param.Role,
32 | Status: param.Status,
33 | }
34 | return global.Db.Model(&user).Updates(user).RowsAffected
35 | }
36 |
37 | func (u *User) ChangePwd(param models.UserParam) int64 {
38 | return 1
39 | }
40 |
41 | func (u *User) Delete(id uint) int64 {
42 | return global.Db.Delete(&User{}, id).RowsAffected
43 | }
44 |
45 | func (u *User) GetList(page models.Page) (uList []models.UserList) {
46 | userList := make([]models.UserList, 0)
47 | common.RestPage(page, "user", &User{}, &userList, &User{})
48 | return userList
49 | }
50 |
--------------------------------------------------------------------------------
/demo/sql/brand.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:10:59
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for brand
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `brand`;
24 | CREATE TABLE `brand` (
25 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '品牌id',
26 | `name` varchar(20) DEFAULT NULL COMMENT '品牌名称',
27 | `sort` int(20) DEFAULT NULL COMMENT '品牌排序',
28 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
29 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
30 | PRIMARY KEY (`id`)
31 | ) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8;
32 |
33 | -- ----------------------------
34 | -- Records of brand
35 | -- ----------------------------
36 | BEGIN;
37 | INSERT INTO `brand` VALUES (149, '苹果', 23, '2021-09-21 14:41:16', NULL);
38 | INSERT INTO `brand` VALUES (150, '华为', 34, '2021-09-21 14:41:25', '2021-09-25 12:37:09');
39 | INSERT INTO `brand` VALUES (153, '小米', 22, '2021-09-24 09:04:23', NULL);
40 | COMMIT;
41 |
42 | SET FOREIGN_KEY_CHECKS = 1;
43 |
--------------------------------------------------------------------------------
/web/src/store/index.js:
--------------------------------------------------------------------------------
1 | import { createStore } from 'vuex'
2 |
3 | const store = createStore({
4 | state () {
5 | return {
6 | token: '',
7 |
8 | // 动态标签
9 | editableTabsValue: '/product/list',
10 | editableTabs: [{
11 | title: '商品列表',
12 | name: '/product/list',
13 | }],
14 |
15 | // 动态步骤条激活状态
16 | stepsActive: 0,
17 |
18 | // 结果页标题状态
19 | pageTitle: ''
20 | }
21 | },
22 | mutations: {
23 | SET_TOKEN: (state, token) => {
24 | state.token = token
25 | localStorage.setItem("token", token)
26 | },
27 | resetState: (state) => {
28 | state.token = ''
29 | },
30 | addTab(state, tab) {
31 | let index = state.editableTabs.findIndex(s => s.name === tab.name)
32 | if (index === -1){
33 | state.editableTabs.push({
34 | title: tab.title,
35 | name: tab.name,
36 | });
37 | }
38 | state.editableTabsValue = tab.name;
39 | },
40 | setActive(state, active) {
41 | state.stepsActive = active
42 | },
43 | setPageTitle(state, title) {
44 | state.pageTitle = title
45 | }
46 | },
47 | actions: {},
48 | modules: {}
49 | })
50 |
51 | export default store;
--------------------------------------------------------------------------------
/server/api/brand.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/models"
6 | "mall.com/response"
7 | "mall.com/service"
8 | )
9 |
10 | var brand service.Brand
11 |
12 | // CreateBrand 创建品牌
13 | func CreateBrand(c *gin.Context) {
14 | var param models.BrandParam
15 | _ = c.ShouldBindJSON(¶m)
16 | count := brand.Create(param)
17 | if count > 0 {
18 | response.Success("创建成功", count, c)
19 | return
20 | }
21 | response.Failed("创建失败", c)
22 | }
23 |
24 | // DeleteBrand 删除品牌
25 | func DeleteBrand(c *gin.Context) {
26 | var key models.PrimaryKey
27 | _ = c.Bind(&key)
28 | count := brand.Delete(key.Id)
29 | if count > 0 {
30 | response.Success("删除成功", count, c)
31 | return
32 | }
33 | response.Failed("删除失败", c)
34 | }
35 |
36 | // UpdateBrand 更新品牌
37 | func UpdateBrand(c *gin.Context) {
38 | var param models.BrandParam
39 | _ = c.ShouldBindJSON(¶m)
40 | count := brand.Update(param)
41 | if count > 0 {
42 | response.Success("更新成功", count, c)
43 | return
44 | }
45 | response.Failed("更新失败", c)
46 | }
47 |
48 | // GetBrandList 获取品牌列表
49 | func GetBrandList(c *gin.Context) {
50 | var page models.Page
51 | var param models.BrandParam
52 | _ = c.Bind(&page)
53 | _ = c.Bind(¶m)
54 | brandList, rows := brand.GetList(page, param)
55 | response.SuccessPage("操作成功", brandList, rows, c)
56 | }
57 |
58 | // GetBrandOption 获取品牌选项
59 | func GetBrandOption(c *gin.Context) {
60 | options := brand.GetOption()
61 | response.Success("操作成功", options, c)
62 | }
--------------------------------------------------------------------------------
/server/api/category.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/models"
6 | "mall.com/response"
7 | "mall.com/service"
8 | )
9 |
10 | var category service.Category
11 |
12 | // CreateCategory 创建类目
13 | func CreateCategory(c *gin.Context) {
14 | var param models.CategoryParam
15 | _ = c.ShouldBindJSON(¶m)
16 | count := category.Create(param)
17 | if count > 0 {
18 | response.Success("创建成功", count, c)
19 | return
20 | }
21 | response.Failed("创建失败", c)
22 | }
23 |
24 | // DeleteCategory 删除类目
25 | func DeleteCategory(c *gin.Context) {
26 | var key models.PrimaryKey
27 | _ = c.Bind(&key)
28 | count := category.Delete(key.Id)
29 | if count > 0 {
30 | response.Success("删除成功", count, c)
31 | return
32 | }
33 | response.Failed("删除失败", c)
34 | }
35 |
36 | // UpdateCategory 更新类目
37 | func UpdateCategory(c *gin.Context) {
38 | var param models.CategoryParam
39 | _ = c.ShouldBindJSON(¶m)
40 | count := category.Update(param)
41 | if count > 0 {
42 | response.Success("更新成功", count, c)
43 | return
44 | }
45 | response.Failed("更新失败", c)
46 | }
47 |
48 | // GetCategoryList 获取类目列表
49 | func GetCategoryList(c *gin.Context) {
50 | var page models.Page
51 | var param models.CategoryParam
52 | _ = c.Bind(&page)
53 | _ = c.Bind(¶m)
54 | cateList, rows := category.GetList(page, param)
55 | response.SuccessPage("操作成功", cateList, rows, c)
56 | }
57 |
58 | // GetCategoryOption 获取类目选项
59 | func GetCategoryOption(c *gin.Context) {
60 | option := category.GetOption()
61 | response.Success("操作成功", option, c)
62 | }
63 |
--------------------------------------------------------------------------------
/server/service/brand.go:
--------------------------------------------------------------------------------
1 | package service
2 |
3 | import (
4 | "mall.com/common"
5 | "mall.com/global"
6 | "mall.com/models"
7 | )
8 |
9 | type Brand struct {
10 | Id uint `gorm:"primaryKey"`
11 | Name string `gorm:"name"`
12 | Sort int `gorm:"sort"`
13 | Created string `gorm:"created"`
14 | Updated string `gorm:"updated"`
15 | }
16 |
17 | // Create 创建品牌
18 | func (b *Brand) Create(param models.BrandParam) int64 {
19 | brand := Brand{
20 | Name: param.Name,
21 | Sort: param.Sort,
22 | Created: common.NowTime(),
23 | }
24 | return global.Db.Select("Name", "Sort", "Created").Create(&brand).RowsAffected
25 | }
26 |
27 | // Delete 删除品牌
28 | func (b *Brand) Delete(id uint) int64 {
29 | return global.Db.Delete(&Brand{}, id).RowsAffected
30 | }
31 |
32 | // Update 修改品牌
33 | func (b *Brand) Update(param models.BrandParam) int64 {
34 | brand := Brand{
35 | Id: param.Id,
36 | Name: param.Name,
37 | Sort: param.Sort,
38 | Updated: common.NowTime(),
39 | }
40 | return global.Db.Model(&brand).Updates(brand).RowsAffected
41 | }
42 |
43 | // GetList 获取品牌列表
44 | func (b *Brand) GetList(page models.Page, param models.BrandParam) ([]models.BrandList, int64) {
45 | brandList := make([]models.BrandList, 0)
46 | query := &Brand{ Name: param.Name }
47 | rows := common.RestPage(page, "brand", query, &brandList, &[]Brand{})
48 | return brandList, rows
49 | }
50 |
51 | // GetOption 获取品牌选项
52 | func (b *Brand) GetOption() []models.BrandOption {
53 | options := make([]models.BrandOption, 0)
54 | global.Db.Table("brand").Find(&options)
55 | return options
56 | }
57 |
--------------------------------------------------------------------------------
/demo/sql/category.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:11:10
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for category
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `category`;
24 | CREATE TABLE `category` (
25 | `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '类目id',
26 | `name` char(50) DEFAULT NULL COMMENT '类目名称',
27 | `parent_id` bigint(20) DEFAULT NULL COMMENT '父级类目id',
28 | `level` int(5) DEFAULT NULL COMMENT '类目层级',
29 | `sort` int(5) DEFAULT NULL COMMENT '类目排序',
30 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
31 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
32 | PRIMARY KEY (`id`)
33 | ) ENGINE=InnoDB AUTO_INCREMENT=1044 DEFAULT CHARSET=utf8;
34 |
35 | -- ----------------------------
36 | -- Records of category
37 | -- ----------------------------
38 | BEGIN;
39 | INSERT INTO `category` VALUES (1032, '手机数码', 0, 1, 35, '', '');
40 | INSERT INTO `category` VALUES (1033, '苹果', 1032, 2, 80, '', '');
41 | INSERT INTO `category` VALUES (1034, 'iPhone13', 1033, 3, 55, '', '');
42 | INSERT INTO `category` VALUES (1035, '家用电器', 0, 1, 12, '', '');
43 | INSERT INTO `category` VALUES (1036, '电冰箱', 1035, 2, 47, '', '');
44 | COMMIT;
45 |
46 | SET FOREIGN_KEY_CHECKS = 1;
47 |
--------------------------------------------------------------------------------
/server/api/product.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "fmt"
5 | "github.com/gin-gonic/gin"
6 | "mall.com/models"
7 | "mall.com/response"
8 | "mall.com/service"
9 | )
10 |
11 | var product service.Product
12 |
13 | // CreateProduct 创建商品
14 | func CreateProduct(c *gin.Context) {
15 | var param models.ProductParam
16 | _ = c.ShouldBindJSON(¶m)
17 | fmt.Println(param)
18 | count := product.Create(param)
19 | if count > 0 {
20 | response.Success("创建成功", count, c)
21 | return
22 | }
23 | response.Failed("创建失败", c)
24 | }
25 |
26 | // DeleteProduct 删除商品
27 | func DeleteProduct(c *gin.Context) {
28 | var key models.PrimaryKey
29 | _ = c.Bind(&key)
30 | count := product.Delete(key.Id)
31 | if count > 0 {
32 | response.Success("删除成功", count, c)
33 | return
34 | }
35 | response.Failed("删除失败", c)
36 | }
37 |
38 | // UpdateProduct 更新商品
39 | func UpdateProduct(c *gin.Context) {
40 | var param models.ProductParam
41 | _ = c.ShouldBindJSON(¶m)
42 | fmt.Println(param)
43 | count := product.Update(param)
44 | if count > 0 {
45 | response.Success("更新成功", count, c)
46 | return
47 | }
48 | response.Failed("更新失败", c)
49 | }
50 |
51 | // GetProductInfo 获取商品信息
52 | func GetProductInfo(c *gin.Context) {
53 | var key models.PrimaryKey
54 | _ = c.Bind(&key)
55 | productInfo := product.GetInfo(key.Id)
56 | response.Success("操作成功", productInfo, c)
57 | }
58 |
59 | // GetProductList 获取商品列表
60 | func GetProductList(c *gin.Context) {
61 | var page models.Page
62 | var param models.ProductParam
63 | _ = c.Bind(&page)
64 | _ = c.Bind(¶m)
65 | productList, rows := product.GetList(page, param)
66 | response.SuccessPage("操作成功", productList, rows, c)
67 | }
68 |
--------------------------------------------------------------------------------
/demo/sql/user.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:11:35
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for user
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `user`;
24 | CREATE TABLE `user` (
25 | `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户id(主键)',
26 | `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '用户名称',
27 | `password` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户密码',
28 | `avatar` varchar(300) DEFAULT NULL COMMENT '用户头像',
29 | `role` char(50) DEFAULT NULL COMMENT '用户角色',
30 | `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '用户状态,1表示正常,0表示暂停',
31 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
32 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
33 | PRIMARY KEY (`id`) USING BTREE
34 | ) ENGINE=InnoDB AUTO_INCREMENT=100037 DEFAULT CHARSET=utf8;
35 |
36 | -- ----------------------------
37 | -- Records of user
38 | -- ----------------------------
39 | BEGIN;
40 | INSERT INTO `user` VALUES (100030, 'admin', '123', 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', 'ROLE_admin', 1, '2021-07-16 10:35:02', NULL);
41 | INSERT INTO `user` VALUES (100034, 'wang', '123', 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', '会员', 0, '2021-09-09 23:10:19', '2021-07-16 12:11:57');
42 | COMMIT;
43 |
44 | SET FOREIGN_KEY_CHECKS = 1;
45 |
--------------------------------------------------------------------------------
/web/src/components/Header.vue:
--------------------------------------------------------------------------------
1 |
2 |
26 |
27 |
28 |
48 |
49 |
--------------------------------------------------------------------------------
/server/api/user.go:
--------------------------------------------------------------------------------
1 | package api
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/common"
6 | "mall.com/models"
7 | "mall.com/response"
8 | "mall.com/service"
9 | )
10 |
11 | var user service.User
12 |
13 | func GetCaptcha(c *gin.Context) {
14 | id, b64s, _ := common.GenerateCaptcha()
15 | data := map[string]interface{}{ "captchaId": id, "captchaImg": b64s}
16 | response.Success("操作成功", data, c)
17 | }
18 |
19 | func UserLogin(c *gin.Context) {
20 | var param models.UserParam
21 | _ = c.ShouldBindJSON(¶m)
22 |
23 | // 检查验证码
24 | if !common.VerifyCaptcha(param.CaptchaId, param.CaptchaValue) {
25 | response.Failed("验证码错误", c)
26 | return
27 | }
28 | // 生成token
29 | if user.Login(param) > 0 {
30 | token, _ := common.GenerateToke(param.Username)
31 | res := map[string]interface{}{ "token": token}
32 | response.Success("登录成功", res, c)
33 | return
34 | }
35 | response.Failed("用户名或密码错误", c)
36 | }
37 |
38 | func UpdateUser(c *gin.Context) {
39 | var param models.UserParam
40 | _ = c.ShouldBindJSON(¶m)
41 | count := user.Update(param)
42 | if count > 0 {
43 | response.Success("更新成功", count, c)
44 | }
45 | response.Failed("更新失败", c)
46 | }
47 |
48 | func ChangePassword(c *gin.Context) {
49 | var param models.UserParam
50 | _ = c.ShouldBindJSON(¶m)
51 | count := user.ChangePwd(param)
52 | if count > 0{
53 | response.Success("密码更新成功", count, c)
54 | }
55 | response.Failed("密码更新失败", c)
56 | }
57 |
58 | func DeleteUser(c *gin.Context) {
59 | var key models.PrimaryKey
60 | _ = c.Bind(&key)
61 | count := user.Delete(key.Id)
62 | if count > 0 {
63 | response.Success("删除成功", count, c)
64 | }
65 | response.Failed("删除失败", c)
66 | }
67 |
68 | func GetUserList(c *gin.Context) {
69 | var page models.Page
70 | _ = c.Bind(&page)
71 | userList := user.GetList(page)
72 | response.Success("操作成功", userList, c)
73 | }
74 |
75 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # mall
2 | ### 介绍
3 | mall 是一个基于 golang、 gin、 gorm、 vue3、element plus 开发的商城系统,包括golang后端、 Vue后台管理员前端 ,主要功能有商品管理、订单管理、用户管理。
4 |
5 | ### 技术选型
6 |
7 | 前端技术:
8 |
9 | | 技术 | 说明 | 相关文档 |
10 | |---|---|---|
11 | | Vue3 | 前端框架 | https://v3.cn.vuejs.org |
12 | | Vue-Router | 页面路由 | https://next.router.vuejs.org |
13 | | Axios | 网络请求库 | https://axios-http.com |
14 | | Vuex | 状态管理 | https://next.vuex.vuejs.org |
15 | | Element Plus | 前端UI组件库 | https://element-plus.org |
16 |
17 | 后端技术:
18 |
19 | | 技术 | 说明 | 相关文档 |
20 | |---|---|---|
21 | | Gin | Web框架 | https://gin-gonic.com |
22 | | Gorm | ORM框架 | https://gorm.io |
23 | | Jwt | 用户认证 | https://github.com/golang-jwt/jwt |
24 | | Captcha | 验证码生成器 | https://github.com/mojocn/base64Captcha |
25 | | Viper | 配置管理 | https://github.com/spf13/viper |
26 |
27 | ### 运行环境
28 |
29 | | 环境 | 版本 |
30 | |---|---|
31 | | go | 1.17.1 |
32 | | mysql | 8.0.16 |
33 | | node.js | 14.13.1 |
34 | | npm | 6.14.8 |
35 |
36 | ### 安装与启动
37 |
38 | **使用git安装:**
39 | ```
40 | git clone https://github.com/zchengo/mall.git
41 | ```
42 | **相关资源文件:**
43 |
44 | 数据库文件在 /demo/sql 目录中,推荐使用 Navicat 来运行SQL文件。图片文件在 /demo/image 目录中,请在自己的电脑中新建一个目录,用于存放这些图片。
45 |
46 | **修改配置文件:**
47 |
48 | 配置文件位于 /server/config.yaml,请按实际情况进行修改
49 |
50 | **初始化并运行:**
51 |
52 | 推荐使用Goland打开mall项目,找到Terminal(终端),执行如下命令。
53 | ```
54 | $ cd server
55 | $ go generate
56 | $ go build -o server main.go (windows编译命令为 go build -o server.exe main.go )
57 |
58 | # 运行二进制
59 | $ ./server (windows运行命令为 server.exe)
60 |
61 | $ cd web
62 | $ npm install
63 | $ npm run serve
64 | ```
65 |
66 | **使用浏览器访问:**
67 |
68 | 成功启动后,即可通过浏览器访问:http://localhost:8080/#/login
69 |
70 | 用户名: admin 密码: 123
71 |
72 | 登录后,可以看到商城首页:
73 |
74 | 
75 |
76 | ### 使用说明
77 |
78 | 本商城系统使用MIT开源许可证,完全免费,请放心使用。
79 |
80 | ### 问题反馈
81 |
82 | 本项目持续更新、优化,在使用过程中遇到问题,请在评论区反馈!
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/demo/sql/address.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:10:45
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for address
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `address`;
24 | CREATE TABLE `address` (
25 | `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '地址id',
26 | `user_id` varchar(200) DEFAULT NULL COMMENT '用户id',
27 | `name` varchar(255) DEFAULT NULL COMMENT '收货人姓名',
28 | `mobile` char(16) DEFAULT NULL COMMENT '手机号',
29 | `province` char(30) DEFAULT NULL COMMENT '省',
30 | `city` char(30) DEFAULT NULL COMMENT '城市',
31 | `district` char(30) DEFAULT NULL COMMENT '区/县',
32 | `detailed_address` varchar(200) DEFAULT NULL COMMENT '详细地址',
33 | `is_default` tinyint(1) DEFAULT NULL COMMENT '1为默认,0为非默认',
34 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
35 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
36 | PRIMARY KEY (`id`)
37 | ) ENGINE=InnoDB AUTO_INCREMENT=1007 DEFAULT CHARSET=utf8;
38 |
39 | -- ----------------------------
40 | -- Records of address
41 | -- ----------------------------
42 | BEGIN;
43 | INSERT INTO `address` VALUES (1001, 'oUT385ZLmRr6R_a9xKSfSW9SekY1', '张三', '13900882903', '北京市AA', '北京市', 'xx区', 'xxx街道', 1, '2021-08-07 12:23:52', NULL);
44 | INSERT INTO `address` VALUES (1002, 'oUT385ZLmRr6R_a9xKSfSW9SekY1', '张三', '13900882903', '北京市AA', '北京市', 'xx区', 'xxx街道', 1, '2021-08-07 12:24:15', NULL);
45 | INSERT INTO `address` VALUES (1006, '100030', '王小明', '13500892350', '安徽省', '芜湖市', '芜湖县', 'xx小区xx栋', 0, '2021-08-08 09:41:09', NULL);
46 | COMMIT;
47 |
48 | SET FOREIGN_KEY_CHECKS = 1;
49 |
--------------------------------------------------------------------------------
/web/src/components/Tabs.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
69 |
70 |
--------------------------------------------------------------------------------
/server/initialize/router.go:
--------------------------------------------------------------------------------
1 | package initialize
2 |
3 | import (
4 | "github.com/gin-gonic/gin"
5 | "mall.com/api"
6 | "mall.com/global"
7 | "mall.com/middleware"
8 | )
9 |
10 | func Router() {
11 |
12 | engine := gin.Default()
13 |
14 | // 开启跨域、JWT认证
15 | engine.Use(middleware.Cors())
16 |
17 | // 静态资源请求映射
18 | engine.Static("/image", global.Config.Upload.SavePath)
19 |
20 | // 用户登录API
21 | engine.GET("/captcha", api.GetCaptcha)
22 | engine.POST("/login", api.UserLogin)
23 |
24 | // 开启JWT认证,以下接口需要认证成功才能访问
25 | engine.Use(middleware.JwtAuth())
26 |
27 | // 文件上传API
28 | engine.POST("/upload", api.FileUpload)
29 |
30 | // 品牌管理API
31 | engine.POST("/brand/create", api.CreateBrand)
32 | engine.DELETE("/brand/delete", api.DeleteBrand)
33 | engine.PUT("/brand/update", api.UpdateBrand)
34 | engine.GET("/brand/list", api.GetBrandList)
35 | engine.GET("/brand/option", api.GetBrandOption)
36 |
37 | // 类目管理API
38 | engine.POST("/category/create", api.CreateCategory)
39 | engine.DELETE("/category/delete", api.DeleteCategory)
40 | engine.PUT("/category/update", api.UpdateCategory)
41 | engine.GET("/category/list", api.GetCategoryList)
42 | engine.GET("/category/option", api.GetCategoryOption)
43 |
44 | // 商品管理API
45 | engine.POST("/product/create", api.CreateProduct)
46 | engine.DELETE("/product/delete", api.DeleteProduct)
47 | engine.PUT("/product/update", api.UpdateProduct)
48 | engine.GET("/product/info", api.GetProductInfo)
49 | engine.GET("/product/list", api.GetProductList)
50 |
51 | // 订单管理API
52 | engine.DELETE("/order/delete", api.DeleteOrder)
53 | engine.PUT("/order/update", api.UpdateOrder)
54 | engine.GET("/order/list", api.GetOrderList)
55 | engine.GET("/order/detail", api.GetOrderDetail)
56 |
57 | // 用户管理API
58 | engine.DELETE("/user/delete", api.DeleteUser)
59 | engine.PUT("/user/update", api.UpdateUser)
60 | engine.POST("/user/pwd/change", api.ChangePassword)
61 | engine.GET("/user/list", api.GetUserList)
62 |
63 | // 启动、监听端口
64 | post := ":" + global.Config.Server.Post
65 | _ = engine.Run(post)
66 | }
67 |
--------------------------------------------------------------------------------
/server/go.mod:
--------------------------------------------------------------------------------
1 | module mall.com
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/gin-gonic/gin v1.7.4
7 | github.com/golang-jwt/jwt v3.2.2+incompatible
8 | github.com/mojocn/base64Captcha v1.3.5
9 | github.com/spf13/viper v1.9.0
10 | gorm.io/driver/mysql v1.1.2
11 | gorm.io/gorm v1.21.15
12 | )
13 |
14 | require (
15 | github.com/fsnotify/fsnotify v1.5.1 // indirect
16 | github.com/gin-contrib/sse v0.1.0 // indirect
17 | github.com/go-playground/locales v0.14.0 // indirect
18 | github.com/go-playground/universal-translator v0.18.0 // indirect
19 | github.com/go-playground/validator/v10 v10.9.0 // indirect
20 | github.com/go-sql-driver/mysql v1.6.0 // indirect
21 | github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
22 | github.com/golang/protobuf v1.5.2 // indirect
23 | github.com/hashicorp/hcl v1.0.0 // indirect
24 | github.com/jinzhu/inflection v1.0.0 // indirect
25 | github.com/jinzhu/now v1.1.2 // indirect
26 | github.com/json-iterator/go v1.1.11 // indirect
27 | github.com/leodido/go-urn v1.2.1 // indirect
28 | github.com/magiconair/properties v1.8.5 // indirect
29 | github.com/mattn/go-isatty v0.0.14 // indirect
30 | github.com/mitchellh/mapstructure v1.4.2 // indirect
31 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
32 | github.com/modern-go/reflect2 v1.0.1 // indirect
33 | github.com/pelletier/go-toml v1.9.4 // indirect
34 | github.com/spf13/afero v1.6.0 // indirect
35 | github.com/spf13/cast v1.4.1 // indirect
36 | github.com/spf13/jwalterweatherman v1.1.0 // indirect
37 | github.com/spf13/pflag v1.0.5 // indirect
38 | github.com/subosito/gotenv v1.2.0 // indirect
39 | github.com/ugorji/go/codec v1.2.6 // indirect
40 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
41 | golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d // indirect
42 | golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7 // indirect
43 | golang.org/x/text v0.3.7 // indirect
44 | google.golang.org/protobuf v1.27.1 // indirect
45 | gopkg.in/ini.v1 v1.63.2 // indirect
46 | gopkg.in/yaml.v2 v2.4.0 // indirect
47 | )
48 |
--------------------------------------------------------------------------------
/demo/sql/order.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:11:20
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for order
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `order`;
24 | CREATE TABLE `order` (
25 | `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '订单id',
26 | `payment_status` int(1) DEFAULT '1' COMMENT '支付状态',
27 | `product_item` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '商品项',
28 | `total_price` decimal(20,0) DEFAULT NULL COMMENT '合计',
29 | `status` char(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '未发货' COMMENT '订单状态',
30 | `address_id` bigint(20) DEFAULT NULL COMMENT '地址id',
31 | `user_id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '用户id',
32 | `admin_id` bigint(20) DEFAULT NULL COMMENT '管理员id',
33 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
34 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
35 | PRIMARY KEY (`id`)
36 | ) ENGINE=InnoDB AUTO_INCREMENT=1004 DEFAULT CHARSET=utf8;
37 |
38 | -- ----------------------------
39 | -- Records of order
40 | -- ----------------------------
41 | BEGIN;
42 | INSERT INTO `order` VALUES (86, 1, '103,104,', 3598, '已发货', 1002, 'oUT385ZLmRr6R_a9xKSfSW9SekYI', 100030, '2021-08-08 16:16:48', NULL);
43 | INSERT INTO `order` VALUES (87, 1, '103,106,', 8698, '已发货', 1002, 'oUT385ZLmRr6111R_a9xKSfSW9SekYI', 100030, '2021-08-08 18:32:53', NULL);
44 | INSERT INTO `order` VALUES (88, 1, '107,109,', 5519, '已发货', 1002, 'oUT385ZLm1Rr6R_a9xKSfSW9SekYI', 100030, '2021-08-08 18:33:06', NULL);
45 | INSERT INTO `order` VALUES (89, 1, '107,109,110,', 5748, '已发货', 1002, 'oUT385ZLmRr6R_a9xKSfSW9SekYI', 100030, '2021-08-08 18:33:42', NULL);
46 | INSERT INTO `order` VALUES (1003, 1, '103,106,', 15187, '未发货', NULL, 'oUT385ZLmRr6R_a9xKSfSW9SekYI', NULL, '2021-08-12 16:25:34', NULL);
47 | COMMIT;
48 |
49 | SET FOREIGN_KEY_CHECKS = 1;
50 |
--------------------------------------------------------------------------------
/server/service/order.go:
--------------------------------------------------------------------------------
1 | package service
2 |
3 | import (
4 | "mall.com/common"
5 | "mall.com/global"
6 | "mall.com/models"
7 | "strconv"
8 | "strings"
9 | )
10 |
11 | type Order struct {
12 | Id uint `gorm:"primaryKey"`
13 | PaymentStatus int `gorm:"PaymentStatus"`
14 | ProductItem string `gorm:"ProductItem"`
15 | TotalPrice float64 `gorm:"TotalPrice"`
16 | Status string `gorm:"Status"`
17 | AddressId uint `gorm:"AddressId"`
18 | UserId string `gorm:"UserId"`
19 | AdminId uint `gorm:"AdminId"`
20 | Created string `gorm:"Created"`
21 | Updated string `gorm:"Updated"`
22 | }
23 |
24 | // Delete 删除订单
25 | func (o *Order) Delete(id uint) int64 {
26 | return global.Db.Delete(&Order{}, id).RowsAffected
27 | }
28 |
29 | // Update 更新订单
30 | func (o *Order) Update(param models.OrderParam) int64 {
31 | order := Order{
32 | Id: param.Id,
33 | Status: param.Status,
34 | Updated: common.NowTime(),
35 | }
36 | return global.Db.Model(&order).Updates(order).RowsAffected
37 | }
38 |
39 | // GetList 获取订单列表
40 | func (o *Order) GetList(page models.Page) ([]models.OrderList, int64) {
41 | orderList := make([]models.OrderList, 0)
42 | rows := common.RestPage(page, "order", &Order{}, &orderList, &[]Order{})
43 | return orderList, rows
44 | }
45 |
46 | // GetDetail 获取订单详情
47 | func (o *Order) GetDetail(orderId uint) (od models.OrderDetail) {
48 | var order Order
49 | var address models.Address
50 | var productItem []models.ProductItem
51 | // 查询订单信息
52 | global.Db.First(&order, orderId)
53 | // 查询地址信息
54 | global.Db.First(&address, order.AddressId)
55 |
56 | // 查询商品信息
57 | sList := strings.Split(order.ProductItem, ",")
58 | idList := make([]uint, 0)
59 | for _, pid := range sList {
60 | id, _ := strconv.Atoi(pid)
61 | if id != 0 {
62 | i := uint(id)
63 | idList = append(idList, i)
64 | }
65 | }
66 | global.Db.Table("product").Find(&productItem, idList)
67 | orderDetail := models.OrderDetail{
68 | Id: order.Id,
69 | Created: order.Created,
70 | PaymentStatus: order.PaymentStatus,
71 | Status: order.Status,
72 | Name: address.Name,
73 | Mobile: address.Mobile,
74 | Province: address.Province,
75 | City: address.City,
76 | District: address.District,
77 | DetailedAddress: address.DetailedAddress,
78 | ProductItem: productItem,
79 | }
80 | return orderDetail
81 | }
82 |
--------------------------------------------------------------------------------
/server/service/category.go:
--------------------------------------------------------------------------------
1 | package service
2 |
3 | import (
4 | "mall.com/common"
5 | "mall.com/global"
6 | "mall.com/models"
7 | )
8 |
9 | type Category struct {
10 | Id uint `gorm:"primaryKey"`
11 | Name string `gorm:"name"`
12 | ParentId uint `gorm:"parent_id"`
13 | Level int `gorm:"level"`
14 | Sort int `gorm:"sort"`
15 | Created string `gorm:"created"`
16 | Updated string `gorm:"updated"`
17 | }
18 |
19 | // Create 创建类目
20 | func (c *Category) Create(param models.CategoryParam) uint {
21 | var category Category
22 | result := global.Db.Where("name = ?", param.Name).First(&category)
23 | if result.RowsAffected > 0 {
24 | return category.Id
25 | }
26 | category = Category{
27 | Name: param.Name,
28 | ParentId: param.ParentId,
29 | Level: param.Level,
30 | Sort: param.Sort,
31 | Created: common.NowTime(),
32 | }
33 | if global.Db.Create(&category).RowsAffected > 0 {
34 | return category.Id
35 | }
36 | return 0
37 | }
38 |
39 | // Delete 删除类目
40 | func (c *Category) Delete(id uint) int64 {
41 | return global.Db.Delete(&Category{}, id).RowsAffected
42 | }
43 |
44 | // Update 更新类目
45 | func (c *Category) Update(param models.CategoryParam) int64 {
46 | category := Category{
47 | Id: param.Id,
48 | Name: param.Name,
49 | Sort: param.Sort,
50 | Updated: common.NowTime(),
51 | }
52 | return global.Db.Model(&category).Updates(category).RowsAffected
53 | }
54 |
55 | // GetList 获取类目列表
56 | func (c *Category) GetList(page models.Page, param models.CategoryParam) ([]models.CategoryList, int64) {
57 | categoryList := make([]models.CategoryList, 0)
58 | query := &Category{
59 | Id: param.Id,
60 | Name: param.Name,
61 | Level: param.Level,
62 | ParentId: param.ParentId,
63 | }
64 | rows := common.RestPage(page, "category", query, &categoryList, &[]Category{})
65 | return categoryList, rows
66 | }
67 |
68 | // GetOption 获取类目选项
69 | func (c *Category) GetOption() (option []models.CategoryOption) {
70 | selectList := make([]models.CategoryList, 0)
71 | global.Db.Table("category").Find(&selectList)
72 | return getTreeOptions(0, selectList)
73 | }
74 |
75 | // 获取树形结构的选项
76 | func getTreeOptions(id uint, cateList []models.CategoryList) (option []models.CategoryOption) {
77 | optionList := make([]models.CategoryOption, 0)
78 | for _ , opt := range cateList {
79 | if opt.ParentId == id && (opt.Level == 1 || opt.Level == 2 || opt.Level == 3) {
80 | option := models.CategoryOption{
81 | Value: opt.Id,
82 | Label: opt.Name,
83 | Children: getTreeOptions(opt.Id, cateList),
84 | }
85 | if opt.Level == 3 { option.Children = nil }
86 | optionList = append(optionList, option)
87 | }
88 | }
89 | return optionList
90 | }
91 |
--------------------------------------------------------------------------------
/web/src/views/Home.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
82 |
83 |
--------------------------------------------------------------------------------
/web/src/router/index.js:
--------------------------------------------------------------------------------
1 | import { createWebHashHistory, createRouter } from 'vue-router';
2 | import Login from "../views/Login";
3 | import OrderList from "../views/order/OrderList";
4 | import ChangePassword from "../views/user/ChangePassword";
5 | import AddProduct from "../views/product/AddProduct";
6 | import BrandManage from "../views/product/BrandManage";
7 | import ProductList from "../views/product/ProductList";
8 | import CategoryManage from "../views/product/CategoryManage";
9 | import Home from "../views/Home";
10 | import ResultPage from "../views/result/ResultPage";
11 | import UserManage from "../views/user/UserManage";
12 | import OrderDetail from "../views/order/OrderDetail";
13 | import EditProduct from "../views/product/EditProduct";
14 | import RefundProcess from "../views/order/RefundProcess";
15 |
16 | const routes = [
17 | {
18 | path: '/',
19 | component: Login,
20 | },
21 | { path: '/home',
22 | component: Home,
23 | redirect: '/product/list',
24 | children: [
25 | {
26 | path: '/product/list',
27 | name: 'productList',
28 | component: ProductList,
29 | },
30 | {
31 | path: '/product/add',
32 | name: 'addProduct',
33 | component: AddProduct,
34 | },
35 | {
36 | path: '/product/edit',
37 | name: 'editProduct',
38 | component: EditProduct,
39 | },
40 | {
41 | path: '/product/category',
42 | name: 'productCategory',
43 | component: CategoryManage,
44 | },
45 | {
46 | path: '/product/brand',
47 | name: 'productBrand',
48 | component: BrandManage,
49 | },
50 | {
51 | path: '/order/list',
52 | name: 'orderList',
53 | component: OrderList,
54 | },
55 | {
56 | path: '/order/refund',
57 | name: 'orderRefund',
58 | component: RefundProcess,
59 | },
60 | {
61 | path: '/order/detail',
62 | name: 'orderDetail',
63 | component: OrderDetail,
64 | },
65 | {
66 | path: '/user/manage',
67 | name: 'userManage',
68 | component: UserManage,
69 | },
70 | {
71 | path: '/change/password',
72 | name: 'changePassword',
73 | component: ChangePassword,
74 | },
75 | {
76 | path: '/result/page',
77 | name: 'resultPage',
78 | component: ResultPage
79 | }
80 | ],
81 | },
82 | ]
83 |
84 | const router = createRouter({
85 | history: createWebHashHistory(), routes
86 | })
87 |
88 | export default router;
--------------------------------------------------------------------------------
/server/service/product.go:
--------------------------------------------------------------------------------
1 | package service
2 |
3 | import (
4 | "mall.com/common"
5 | "mall.com/global"
6 | "mall.com/models"
7 | )
8 |
9 | type Product struct {
10 | Id uint `gorm:"primaryKey"`
11 | CategoryId uint `gorm:"category_id"`
12 | Kind int `gorm:"kind"`
13 | Title string `gorm:"title"`
14 | BrandId uint `gorm:"brand_id"`
15 | Name string `gorm:"name"`
16 | Price float64 `gorm:"price"`
17 | Amount int `gorm:"amount"`
18 | Sales int `gorm:"sales"`
19 | ImageUrl string `gorm:"image_url"`
20 | SendAddress string `gorm:"send_address"`
21 | ParcelType string `gorm:"parcel_type"`
22 | SalesService string `gorm:"sales_service"`
23 | CreatorId uint `gorm:"creator_id"`
24 | Status int `gorm:"status"`
25 | Created string `gorm:"created"`
26 | Updated string `gorm:"updated"`
27 | }
28 |
29 | // Create 创建商品
30 | func (p *Product) Create(param models.ProductParam) int64 {
31 | product := Product{
32 | CategoryId: param.CategoryId,
33 | Kind: param.Kind,
34 | Title: param.Title,
35 | BrandId: param.BrandId,
36 | Name: param.Name,
37 | Price: param.Price,
38 | Amount: param.Amount,
39 | ImageUrl: param.ImageUrl,
40 | SendAddress: param.SendAddress,
41 | ParcelType: param.ParcelType,
42 | SalesService: param.SalesService,
43 | CreatorId: param.CreatorId,
44 | Status: param.Status,
45 | Created: common.NowTime(),
46 | }
47 | return global.Db.Create(&product).RowsAffected
48 | }
49 |
50 | // Delete 删除商品
51 | func (p *Product) Delete(id uint) int64 {
52 | return global.Db.Delete(&Product{}, id).RowsAffected
53 | }
54 |
55 | // Update 更新商品
56 | func (p *Product) Update(param models.ProductParam) int64 {
57 | product := Product{
58 | Id: param.Id,
59 | CategoryId: param.CategoryId,
60 | Kind: param.Kind,
61 | Title: param.Title,
62 | BrandId: param.BrandId,
63 | Name: param.Name,
64 | Price: param.Price,
65 | Amount: param.Amount,
66 | ImageUrl: param.ImageUrl,
67 | SendAddress: param.SendAddress,
68 | ParcelType: param.ParcelType,
69 | SalesService: param.SalesService,
70 | CreatorId: param.CreatorId,
71 | Status: param.Status,
72 | Updated: common.NowTime(),
73 | }
74 | return global.Db.Model(&product).Where("id = ?", param.Id).Updates(product).RowsAffected
75 | }
76 |
77 | // GetInfo 获取商品信息
78 | func (p *Product) GetInfo(id uint) models.ProductInfo {
79 | var product models.ProductInfo
80 | global.Db.Table("product").First(&product, id)
81 | return product
82 | }
83 |
84 | // GetList 获取商品列表
85 | func (p *Product) GetList(page models.Page, param models.ProductParam) ([]models.ProductList, int64) {
86 | query := &Product{
87 | Id: param.Id,
88 | CategoryId: param.CategoryId,
89 | Title: param.Title,
90 | BrandId: param.BrandId,
91 | Status: param.Status,
92 | }
93 | productList := make([]models.ProductList, 0)
94 | rows := common.RestPage(page, "product", query, &productList, &[]Product{})
95 | return productList, rows
96 | }
97 |
98 |
--------------------------------------------------------------------------------
/web/src/views/user/ChangePassword.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | 提交
17 | 重置
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
100 |
101 |
--------------------------------------------------------------------------------
/demo/sql/product.sql:
--------------------------------------------------------------------------------
1 | /*
2 | Navicat Premium Data Transfer
3 |
4 | Source Server : mysql
5 | Source Server Type : MySQL
6 | Source Server Version : 80016
7 | Source Host : localhost:3306
8 | Source Schema : mall
9 |
10 | Target Server Type : MySQL
11 | Target Server Version : 80016
12 | File Encoding : 65001
13 |
14 | Date: 25/09/2021 14:11:28
15 | */
16 |
17 | SET NAMES utf8mb4;
18 | SET FOREIGN_KEY_CHECKS = 0;
19 |
20 | -- ----------------------------
21 | -- Table structure for product
22 | -- ----------------------------
23 | DROP TABLE IF EXISTS `product`;
24 | CREATE TABLE `product` (
25 | `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品id',
26 | `category_id` bigint(20) DEFAULT NULL COMMENT '类目id',
27 | `kind` tinyint(1) DEFAULT NULL COMMENT '商品类型,1为全新,0为二手',
28 | `title` varchar(240) DEFAULT NULL COMMENT '商品标题',
29 | `brand_id` bigint(20) DEFAULT NULL COMMENT '品牌id',
30 | `name` varchar(80) DEFAULT NULL COMMENT '商品名称',
31 | `price` decimal(10,2) DEFAULT NULL COMMENT '价格',
32 | `amount` int(10) DEFAULT NULL COMMENT '库存',
33 | `sales` int(10) DEFAULT NULL COMMENT '销量',
34 | `image_url` varchar(300) DEFAULT NULL COMMENT '图片路径',
35 | `send_address` varchar(20) DEFAULT NULL COMMENT '发货地址',
36 | `parcel_type` varchar(10) DEFAULT NULL COMMENT '快递类型',
37 | `sales_service` varchar(50) DEFAULT NULL COMMENT '售后服务',
38 | `creator_id` bigint(20) DEFAULT NULL COMMENT '创建者id',
39 | `status` tinyint(1) DEFAULT NULL COMMENT '1为上架,0为下架',
40 | `created` char(20) DEFAULT NULL COMMENT '创建时间',
41 | `updated` char(20) DEFAULT NULL COMMENT '更新时间',
42 | PRIMARY KEY (`id`)
43 | ) ENGINE=InnoDB AUTO_INCREMENT=285 DEFAULT CHARSET=utf8;
44 |
45 | -- ----------------------------
46 | -- Records of product
47 | -- ----------------------------
48 | BEGIN;
49 | INSERT INTO `product` VALUES (103, 148, 1, '荣耀Play5T手机 华为手机新款正品', 111, '荣耀手机', 8888.00, 950, 900, 'http://localhost:8000/image/IMG_1190.JPG', '广东深圳', '申通快递', '提供发票,退换货承诺,服务承诺:该类商品,必须支持【七天退货】服务,,,', 100030, 1, '2021-07-28 13:53:59', '2021-09-24 16:14:01');
50 | INSERT INTO `product` VALUES (104, 151, 1, '红米Redmi Note 9 Pro 手机 骁龙750G', 112, '小米手机', 1199.00, 1330, 54, 'http://localhost:8000/image/IMG_1191.JPG', '广东深圳', '圆通速递', '提供发票,服务承诺:该类商品,必须支持【七天退货】服务,退换货承诺,', 100030, 0, '2021-07-28 14:03:50', '2021-08-11 11:41:34');
51 | INSERT INTO `product` VALUES (105, 152, 1, 'Apple/苹果 iPhone11 全新国行正品 全网通双卡', 113, '苹果11', 2388.00, 550, 4829, 'http://localhost:8000/image/IMG_1193.JPG', '浙江杭州', '顺丰快递', '提供发票,服务承诺:该类商品,必须支持【七天退货】服务,', 100030, 1, '2021-07-28 14:13:31', NULL);
52 | INSERT INTO `product` VALUES (106, 156, 1, 'Apple苹果 MacBook Pro超薄便捷商务办公笔记本', 113, '苹果笔记本电脑', 6299.00, 1020, 445, 'http://localhost:8000/image/IMG_1194.JPG', '广东广州', '顺丰快递', '提供发票,保修服务,服务承诺:该类商品,必须支持【七天退货】服务,', 100030, 0, '2021-07-28 14:26:01', '2021-08-10 18:48:59');
53 | INSERT INTO `product` VALUES (107, 158, 1, '联想小新air14/pro13 商务学生办公笔记本电脑', 114, '联想笔记本电脑', 3199.00, 505, 122, 'http://localhost:8000/image/IMG_1195.JPG', '湖北武汉', '申通快递', '提供发票,退换货承诺,', 100030, 0, '2021-07-28 14:36:30', '2021-08-10 18:49:00');
54 | INSERT INTO `product` VALUES (108, 161, 1, '小米全面屏电视Pro 65英寸E65S 4K超清智能网络电视', 112, '小米全面屏电', 2219.00, 1920, 89, 'http://localhost:8000/image/IMG_1196.JPG', '浙江杭州', '顺丰快递', '提供发票,退换货承诺,服务承诺:该类商品,必须支持【七天退货】服务,', 100030, 1, '2021-07-28 14:45:15', NULL);
55 | INSERT INTO `product` VALUES (109, 164, 1, 'Apple/苹果iPad8 正品平板电脑 10.2英寸', 113, 'Apple平板电脑', 2320.00, 1006, 103, 'http://localhost:8000/image/IMG_1197.JPG', '广东深圳', '申通快递', '提供发票,服务承诺:该类商品,必须支持【七天退货】服务,', 100030, 1, '2021-07-28 14:54:50', NULL);
56 | INSERT INTO `product` VALUES (110, 167, 1, '小米手环6智能血氧心率监测 蓝牙男女款运动计步器', 112, '小米手环6', 229.00, 1288, 5, 'http://localhost:8000/image/IMG_1198.JPG', '北京', '顺丰快递', '提供发票,退换货承诺,,,', 100030, 1, '2021-07-28 15:03:03', '2021-07-29 10:01:39');
57 | COMMIT;
58 |
59 | SET FOREIGN_KEY_CHECKS = 1;
60 |
--------------------------------------------------------------------------------
/web/src/components/Menu.vue:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 | {{menu.title}}
11 |
12 |
18 |
19 |
20 |
21 |
22 |
117 |
118 |
127 |
--------------------------------------------------------------------------------
/web/src/views/order/OrderDetail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{order.id}}
6 |
7 |
8 | {{ order.created }}
9 |
10 |
11 | 已支付
12 | 未支付
13 |
14 | {{order.status}}
15 |
16 |
17 |
18 |
19 | {{order.name}}
20 | {{order.mobile}}
21 |
22 | {{order.province + order.city + order.district + order.detailedAddress}}
23 |
24 |
25 |
26 |
27 |
28 |
29 |
33 |
37 |
38 |
41 |
42 |
43 |
47 |
48 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | ¥ {{order.totalPrice}}
59 |
60 |
61 |
62 |
63 |
64 |
65 |
114 |
115 |
--------------------------------------------------------------------------------
/web/src/views/Login.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 | 
8 | Welcome To Mall
9 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
25 |
26 |
27 |
28 | 登 录
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
116 |
117 |
--------------------------------------------------------------------------------
/web/src/views/user/UserManage.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
26 |
27 |
30 |
31 | 管理员
32 | {{scope.row.role}}
33 |
34 |
35 |
38 |
39 | 正常
40 | 停用
41 |
42 |
43 |
47 |
48 |
49 | {{ scope.row.createTime }}
50 |
51 |
52 |
53 |
54 | 修改
58 |
59 | 删除
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 | 管理员
71 | 普通用户
72 |
73 |
74 | 正常
75 | 停用
76 |
77 |
78 |
79 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
152 |
153 |
--------------------------------------------------------------------------------
/web/src/views/order/OrderList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
13 |
14 |
18 |
19 |
23 |
24 |
25 | {{ scope.row.created }}
26 |
27 |
28 |
32 |
33 | 已支付
34 | 未支付
35 |
36 |
37 |
41 |
42 |
46 |
47 |
48 |
49 | 查看
52 |
53 | 发货
57 |
58 | 退款
61 |
62 | 删除
66 |
67 |
68 |
69 |
70 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
184 |
185 |
--------------------------------------------------------------------------------
/web/src/views/product/BrandManage.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
11 | 查询
16 |
17 | 重置
20 |
21 | 新建
25 |
26 |
27 |
28 |
29 |
30 |
31 |
37 |
40 |
41 |
45 |
46 |
50 |
51 |
55 |
56 |
59 |
60 |
61 | {{ scope.row.created }}
62 |
63 |
64 |
66 |
67 | 修改
70 |
71 | 删除
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
109 |
110 |
111 |
112 |
113 |
114 |
253 |
254 |
--------------------------------------------------------------------------------
/web/src/views/product/AddProduct.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
15 |
16 |
17 | 全新
18 | 二手
19 |
20 |
21 |
24 |
25 |
26 |
30 |
35 |
36 |
37 |
38 |
39 |
43 |
44 |
45 |
46 | 元
47 |
48 |
49 |
50 |
51 | 件
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
71 |
72 |
73 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 | 保存草稿
128 | 发布商品
129 |
130 |
131 |
132 |
133 |
134 |
235 |
236 |
--------------------------------------------------------------------------------
/web/src/views/product/CategoryManage.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
10 |
12 |
17 |
18 |
19 | 查询
20 | 新建
21 |
22 |
23 |
24 |
25 |
26 |
31 |
34 |
35 |
39 |
40 |
44 |
45 |
49 |
50 |
54 |
55 |
57 |
58 | 修改
61 |
62 | 下一级类目
66 |
67 | 删除
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
87 |
88 |
89 |
90 |
91 | {{ category.levelTitle }}
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
106 |
107 |
108 |
109 |
110 |
111 |
299 |
300 |
--------------------------------------------------------------------------------
/web/src/views/product/EditProduct.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
15 | 全新
16 | 二手
17 |
18 |
19 |
22 |
23 |
24 |
27 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | 元
41 |
42 |
43 |
44 |
45 | 件
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
62 |
63 |
64 |
73 |
74 |
75 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 | 提交商品
128 |
129 |
130 |
131 |
132 |
267 |
268 |
--------------------------------------------------------------------------------
/web/src/views/product/ProductList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
24 |
25 |
26 |
31 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
45 | 已上架
46 | 未上架
47 |
48 |
49 |
50 |
51 |
52 | 重置
53 | 查询
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
67 |
71 |
72 |
75 |
76 |
77 |
78 |
80 |
81 |
82 |
83 |
{{scope.row.title}}
84 |
ID:{{scope.row.id}}
85 |
86 |
87 |
88 |
89 |
93 |
94 | ¥ {{scope.row.price}}
95 |
96 |
97 |
101 |
102 |
106 |
107 |
110 |
111 | 已上架
112 | 仓库中
113 |
114 |
115 |
118 |
119 |
120 | {{ scope.row.created }}
121 |
122 |
123 |
124 |
125 | 编辑
129 |
130 | 删除
135 |
136 | 上架
141 |
142 | 下架
147 |
148 |
149 |
150 |
151 |
152 |
153 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
327 |
328 |
--------------------------------------------------------------------------------
/server/go.sum:
--------------------------------------------------------------------------------
1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
3 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
4 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
5 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
6 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
7 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
8 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
9 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
10 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
11 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
12 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
13 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
14 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
15 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
16 | cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
17 | cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
18 | cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
19 | cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
20 | cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
21 | cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY=
22 | cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM=
23 | cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY=
24 | cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ=
25 | cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI=
26 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
27 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
28 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
29 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
30 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
31 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
32 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
33 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
34 | cloud.google.com/go/firestore v1.6.0/go.mod h1:afJwI0vaXwAG54kI7A//lP/lSPDkQORQuMkv56TxEPU=
35 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
36 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
37 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
38 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
39 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
40 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
41 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
42 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
43 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
44 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
45 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
46 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
47 | github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
48 | github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
49 | github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
50 | github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
51 | github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
52 | github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
53 | github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
54 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
55 | github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
56 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
57 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
58 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
59 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
60 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
61 | github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
62 | github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
63 | github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
64 | github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
65 | github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
66 | github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
67 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
68 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
69 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
70 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
71 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
72 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
73 | github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
74 | github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
75 | github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
76 | github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
77 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
78 | github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
79 | github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
80 | github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI=
81 | github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
82 | github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
83 | github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
84 | github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
85 | github.com/gin-gonic/gin v1.7.4 h1:QmUZXrvJ9qZ3GfWvQ+2wnW/1ePrTEJqPKMYEU3lD/DM=
86 | github.com/gin-gonic/gin v1.7.4/go.mod h1:jD2toBW3GZUr5UMcdrwQA10I7RuaFOl/SGeDjXkfUtY=
87 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
88 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
89 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
90 | github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A=
91 | github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
92 | github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
93 | github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU=
94 | github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
95 | github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
96 | github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho=
97 | github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
98 | github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
99 | github.com/go-playground/validator/v10 v10.9.0 h1:NgTtmN58D0m8+UuxtYmGztBJB7VnPgjj221I1QHci2A=
100 | github.com/go-playground/validator/v10 v10.9.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos=
101 | github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE=
102 | github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
103 | github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
104 | github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
105 | github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
106 | github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
107 | github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
108 | github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
109 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
110 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
111 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
112 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
113 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
114 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
115 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
116 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
117 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
118 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
119 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
120 | github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
121 | github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
122 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
123 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
124 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
125 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
126 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
127 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
128 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
129 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
130 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
131 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
132 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
133 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
134 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
135 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
136 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
137 | github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
138 | github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
139 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
140 | github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
141 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
142 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
143 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
144 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
145 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
146 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
147 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
148 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
149 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
150 | github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
151 | github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
152 | github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
153 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
154 | github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
155 | github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
156 | github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
157 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
158 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
159 | github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
160 | github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
161 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
162 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
163 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
164 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
165 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
166 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
167 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
168 | github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
169 | github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
170 | github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
171 | github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
172 | github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
173 | github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
174 | github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
175 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
176 | github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
177 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
178 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
179 | github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
180 | github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
181 | github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
182 | github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms=
183 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
184 | github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
185 | github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
186 | github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
187 | github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
188 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
189 | github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA=
190 | github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8=
191 | github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
192 | github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
193 | github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
194 | github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
195 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
196 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
197 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
198 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
199 | github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
200 | github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY=
201 | github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
202 | github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
203 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
204 | github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
205 | github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
206 | github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
207 | github.com/jinzhu/now v1.1.2 h1:eVKgfIdy9b6zbWBMgFpfDPoAMifwSZagU9HmEU6zgiI=
208 | github.com/jinzhu/now v1.1.2/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
209 | github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
210 | github.com/json-iterator/go v1.1.11 h1:uVUAXhF2To8cbw/3xN3pxj6kk7TYKs98NIrTqPlMWAQ=
211 | github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
212 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
213 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
214 | github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
215 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
216 | github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
217 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
218 | github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
219 | github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
220 | github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
221 | github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
222 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
223 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
224 | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
225 | github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
226 | github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
227 | github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=
228 | github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
229 | github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls=
230 | github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
231 | github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
232 | github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
233 | github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
234 | github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
235 | github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
236 | github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84=
237 | github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
238 | github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
239 | github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
240 | github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
241 | github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
242 | github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
243 | github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
244 | github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
245 | github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
246 | github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
247 | github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
248 | github.com/mitchellh/mapstructure v1.4.2 h1:6h7AQ0yhTcIsmFmnAwQls75jp2Gzs4iB8W7pjMO+rqo=
249 | github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
250 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=
251 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
252 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
253 | github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
254 | github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
255 | github.com/mojocn/base64Captcha v1.3.5 h1:Qeilr7Ta6eDtG4S+tQuZ5+hO+QHbiGAJdi4PfoagaA0=
256 | github.com/mojocn/base64Captcha v1.3.5/go.mod h1:/tTTXn4WTpX9CfrmipqRytCpJ27Uw3G6I7NcP2WwcmY=
257 | github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
258 | github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=
259 | github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
260 | github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
261 | github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
262 | github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
263 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
264 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
265 | github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
266 | github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
267 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
268 | github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
269 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
270 | github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
271 | github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8=
272 | github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
273 | github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
274 | github.com/sagikazarmark/crypt v0.1.0/go.mod h1:B/mN0msZuINBtQ1zZLEQcegFJJf9vnYIR88KRMEuODE=
275 | github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
276 | github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
277 | github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY=
278 | github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
279 | github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA=
280 | github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
281 | github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
282 | github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
283 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
284 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
285 | github.com/spf13/viper v1.9.0 h1:yR6EXjTp0y0cLN8OZg1CRZmOBdI88UcGkhgyJhu6nZk=
286 | github.com/spf13/viper v1.9.0/go.mod h1:+i6ajR7OX2XaiBkrcZJFK21htRk7eDeLg7+O6bhUPP4=
287 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
288 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
289 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
290 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
291 | github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
292 | github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
293 | github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
294 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
295 | github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
296 | github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
297 | github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
298 | github.com/ugorji/go v1.2.6 h1:tGiWC9HENWE2tqYycIqFTNorMmFRVhNwCpDOpWqnk8E=
299 | github.com/ugorji/go v1.2.6/go.mod h1:anCg0y61KIhDlPZmnH+so+RQbysYVyDko0IMgJv0Nn0=
300 | github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
301 | github.com/ugorji/go/codec v1.2.6 h1:7kbGefxLoDBuYXOms4yD7223OpNMMPNPZxXk5TvFcyQ=
302 | github.com/ugorji/go/codec v1.2.6/go.mod h1:V6TCNZ4PHqoHGFZuSG1W8nrCzzdgA2DozYxWFFpvxTw=
303 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
304 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
305 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
306 | github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
307 | github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
308 | go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
309 | go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
310 | go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
311 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
312 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
313 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
314 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
315 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
316 | go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
317 | go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
318 | go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
319 | go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
320 | go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
321 | go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
322 | golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
323 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
324 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
325 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
326 | golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
327 | golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
328 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
329 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
330 | golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
331 | golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
332 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=
333 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
334 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
335 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
336 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
337 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
338 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
339 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
340 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
341 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
342 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
343 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
344 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
345 | golang.org/x/image v0.0.0-20190501045829-6d32002ffd75/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
346 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
347 | golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d h1:RNPAfi2nHY7C2srAV8A49jpsYr0ADedCk1wq6fTMTvs=
348 | golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM=
349 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
350 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
351 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
352 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
353 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
354 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
355 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
356 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
357 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
358 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
359 | golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
360 | golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
361 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
362 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
363 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
364 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
365 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
366 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
367 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
368 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
369 | golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
370 | golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
371 | golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
372 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
373 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
374 | golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
375 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
376 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
377 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
378 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
379 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
380 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
381 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
382 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
383 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
384 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
385 | golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
386 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
387 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
388 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
389 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
390 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
391 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
392 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
393 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
394 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
395 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
396 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
397 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
398 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
399 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
400 | golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
401 | golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
402 | golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
403 | golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
404 | golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
405 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
406 | golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
407 | golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
408 | golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
409 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
410 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
411 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
412 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
413 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
414 | golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
415 | golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
416 | golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
417 | golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
418 | golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
419 | golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
420 | golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
421 | golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
422 | golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
423 | golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
424 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
425 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
426 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
427 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
428 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
429 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
430 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
431 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
432 | golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
433 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
434 | golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
435 | golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
436 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
437 | golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
438 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
439 | golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
440 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
441 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
442 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
443 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
444 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
445 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
446 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
447 | golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
448 | golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
449 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
450 | golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
451 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
452 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
453 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
454 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
455 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
456 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
457 | golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
458 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
459 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
460 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
461 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
462 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
463 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
464 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
465 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
466 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
467 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
468 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
469 | golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
470 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
471 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
472 | golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
473 | golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
474 | golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
475 | golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
476 | golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
477 | golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
478 | golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
479 | golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
480 | golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
481 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
482 | golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
483 | golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
484 | golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
485 | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
486 | golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
487 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
488 | golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
489 | golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
490 | golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7 h1:c20P3CcPbopVp2f7099WLOqSNKURf30Z0uq66HpijZY=
491 | golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
492 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
493 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
494 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
495 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
496 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
497 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
498 | golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
499 | golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
500 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
501 | golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
502 | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
503 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
504 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
505 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
506 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
507 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
508 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
509 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
510 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
511 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
512 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
513 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
514 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
515 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
516 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
517 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
518 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
519 | golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
520 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
521 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
522 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
523 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
524 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
525 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
526 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
527 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
528 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
529 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
530 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
531 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
532 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
533 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
534 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
535 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
536 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
537 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
538 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
539 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
540 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
541 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
542 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
543 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
544 | golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
545 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
546 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
547 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
548 | golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
549 | golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
550 | golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
551 | golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
552 | golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
553 | golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
554 | golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
555 | golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
556 | golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
557 | golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
558 | golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
559 | golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
560 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
561 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
562 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
563 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
564 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
565 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
566 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
567 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
568 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
569 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
570 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
571 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
572 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
573 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
574 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
575 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
576 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
577 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
578 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
579 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
580 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
581 | google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
582 | google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
583 | google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
584 | google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
585 | google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
586 | google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
587 | google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
588 | google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw=
589 | google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU=
590 | google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k=
591 | google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
592 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
593 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
594 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
595 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
596 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
597 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
598 | google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
599 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
600 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
601 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
602 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
603 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
604 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
605 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
606 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
607 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
608 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
609 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
610 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
611 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
612 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
613 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
614 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
615 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
616 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
617 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
618 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
619 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
620 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
621 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
622 | google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
623 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
624 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
625 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
626 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
627 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
628 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
629 | google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
630 | google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
631 | google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
632 | google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
633 | google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
634 | google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
635 | google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
636 | google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
637 | google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
638 | google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
639 | google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
640 | google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
641 | google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
642 | google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
643 | google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
644 | google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
645 | google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
646 | google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
647 | google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
648 | google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w=
649 | google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
650 | google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
651 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
652 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
653 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
654 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
655 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
656 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
657 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
658 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
659 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
660 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
661 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
662 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
663 | google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
664 | google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
665 | google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
666 | google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
667 | google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
668 | google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
669 | google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
670 | google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
671 | google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
672 | google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
673 | google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
674 | google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
675 | google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
676 | google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
677 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
678 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
679 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
680 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
681 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
682 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
683 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
684 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
685 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
686 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
687 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
688 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
689 | google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
690 | google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
691 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
692 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
693 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
694 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
695 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
696 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
697 | gopkg.in/ini.v1 v1.63.2 h1:tGK/CyBg7SMzb60vP1M03vNZ3VDu3wGQJwn7Sxi9r3c=
698 | gopkg.in/ini.v1 v1.63.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
699 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
700 | gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
701 | gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
702 | gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
703 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
704 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
705 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
706 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
707 | gorm.io/driver/mysql v1.1.2 h1:OofcyE2lga734MxwcCW9uB4mWNXMr50uaGRVwQL2B0M=
708 | gorm.io/driver/mysql v1.1.2/go.mod h1:4P/X9vSc3WTrhTLZ259cpFd6xKNYiSSdSZngkSBGIMM=
709 | gorm.io/gorm v1.21.12/go.mod h1:F+OptMscr0P2F2qU97WT1WimdH9GaQPoDW7AYd5i2Y0=
710 | gorm.io/gorm v1.21.15 h1:gAyaDoPw0lCyrSFWhBlahbUA1U4P5RViC1uIqoB+1Rk=
711 | gorm.io/gorm v1.21.15/go.mod h1:F+OptMscr0P2F2qU97WT1WimdH9GaQPoDW7AYd5i2Y0=
712 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
713 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
714 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
715 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
716 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
717 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
718 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
719 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
720 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
721 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
722 |
--------------------------------------------------------------------------------