Commit cca60a59a5bb81c03d53049199adc2fbc1d979bc
1 parent
6d6d85bc
Exists in
master
and in
1 other branch
feat:util-lx相关库整理
Showing
13 changed files
with
26 additions
and
25 deletions
Show diff stats
.gitignore
api-common/config/api.go
| 1 | package config | 1 | package config |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxalilog" | ||
| 5 | - "apigame/lx-util/lxconv" | ||
| 6 | - "apigame/lx-util/lxmysql" | 4 | + "apigame/util/util-lx/lxalilog" |
| 5 | + "apigame/util/util-lx/lxconv" | ||
| 6 | + "apigame/util/util-lx/lxmysql" | ||
| 7 | "encoding/json" | 7 | "encoding/json" |
| 8 | "errors" | 8 | "errors" |
| 9 | "fmt" | 9 | "fmt" |
dto/ht-cardholder.go
| 1 | package dto | 1 | package dto |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxalilog" | ||
| 5 | "apigame/models" | 4 | "apigame/models" |
| 6 | "apigame/service/constd" | 5 | "apigame/service/constd" |
| 6 | + "apigame/util/util-lx/lxalilog" | ||
| 7 | "encoding/json" | 7 | "encoding/json" |
| 8 | "github.com/astaxie/beego/orm" | 8 | "github.com/astaxie/beego/orm" |
| 9 | ) | 9 | ) |
dto/inits.go
| 1 | package dto | 1 | package dto |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxalilog" | ||
| 5 | - "apigame/lx-util/lxbeego" | ||
| 6 | - "apigame/lx-util/lxmysql" | ||
| 7 | "apigame/service/constd" | 4 | "apigame/service/constd" |
| 5 | + "apigame/util/util-lx/lxalilog" | ||
| 6 | + "apigame/util/util-lx/lxbeego" | ||
| 7 | + "apigame/util/util-lx/lxmysql" | ||
| 8 | "fmt" | 8 | "fmt" |
| 9 | "github.com/astaxie/beego" | 9 | "github.com/astaxie/beego" |
| 10 | lalilog "github.com/lixu-any/go-tools/ali/log" | 10 | lalilog "github.com/lixu-any/go-tools/ali/log" |
sdk/sdk.go
| 1 | package sdk | 1 | package sdk |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxalilog" | ||
| 5 | - "apigame/lx-util/lxbeego" | ||
| 6 | - "apigame/lx-util/lxredis" | 4 | + "apigame/util/util-lx/lxalilog" |
| 5 | + "apigame/util/util-lx/lxbeego" | ||
| 6 | + "apigame/util/util-lx/lxredis" | ||
| 7 | "encoding/json" | 7 | "encoding/json" |
| 8 | "errors" | 8 | "errors" |
| 9 | "fmt" | 9 | "fmt" |
service/constd/index.go
service/ht-cardholder/config-registry.go
service/ht-cardholder/configs.go
| 1 | package ht_cardholder | 1 | package ht_cardholder |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxalilog" | ||
| 5 | "apigame/service/constd" | 4 | "apigame/service/constd" |
| 5 | + "apigame/util/util-lx/lxalilog" | ||
| 6 | "apigame/util/utmysql" | 6 | "apigame/util/utmysql" |
| 7 | "fmt" | 7 | "fmt" |
| 8 | "github.com/astaxie/beego/logs" | 8 | "github.com/astaxie/beego/logs" |
service/ht-cardholder/logic.go
| @@ -2,9 +2,9 @@ package ht_cardholder | @@ -2,9 +2,9 @@ package ht_cardholder | ||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "apigame/dto" | 4 | "apigame/dto" |
| 5 | - "apigame/lx-util/lxalilog" | ||
| 6 | - "apigame/lx-util/lxtime" | ||
| 7 | "apigame/service/constd" | 5 | "apigame/service/constd" |
| 6 | + "apigame/util/util-lx/lxalilog" | ||
| 7 | + "apigame/util/util-lx/lxtime" | ||
| 8 | "apigame/util/uttype" | 8 | "apigame/util/uttype" |
| 9 | "github.com/astaxie/beego/orm" | 9 | "github.com/astaxie/beego/orm" |
| 10 | ) | 10 | ) |
sign/index.go
| @@ -2,13 +2,13 @@ package sign | @@ -2,13 +2,13 @@ package sign | ||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "apigame/api-common/config" | 4 | "apigame/api-common/config" |
| 5 | - "apigame/lx-util/lxalilog" | ||
| 6 | - "apigame/lx-util/lxarray" | ||
| 7 | - "apigame/lx-util/lxconv" | ||
| 8 | - "apigame/lx-util/lxlimit" | ||
| 9 | - "apigame/lx-util/lxtime" | ||
| 10 | "apigame/sdk" | 5 | "apigame/sdk" |
| 11 | "apigame/service/constd" | 6 | "apigame/service/constd" |
| 7 | + "apigame/util/util-lx/lxalilog" | ||
| 8 | + "apigame/util/util-lx/lxarray" | ||
| 9 | + "apigame/util/util-lx/lxconv" | ||
| 10 | + "apigame/util/util-lx/lxlimit" | ||
| 11 | + "apigame/util/util-lx/lxtime" | ||
| 12 | "encoding/json" | 12 | "encoding/json" |
| 13 | "errors" | 13 | "errors" |
| 14 | "fmt" | 14 | "fmt" |
util/util-lx/lxlimit/index.go
util/util-lx/lxmysql/fx.go
util/util-lx/lxmysql/query.go
| 1 | package lxmysql | 1 | package lxmysql |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | - "apigame/lx-util/lxredis" | 4 | + "apigame/util/util-lx/lxredis" |
| 5 | "encoding/json" | 5 | "encoding/json" |
| 6 | "github.com/astaxie/beego/orm" | 6 | "github.com/astaxie/beego/orm" |
| 7 | lconv "github.com/lixu-any/go-tools/conv" | 7 | lconv "github.com/lixu-any/go-tools/conv" |