Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
xpkg
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
屠思豪
xpkg
Commits
3d3f2557
提交
3d3f2557
authored
10月 24, 2025
作者:
mooncake
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
cdc075ba
全部展开
显示空白字符变更
内嵌
并排
正在显示
146 个修改的文件
包含
168 行增加
和
168 行删除
+168
-168
init_app.go
application/init_app.go
+4
-4
consul.go
config/consul.go
+1
-1
mysql.go
database/mysql.go
+2
-2
common.go
gin/handlerfunc/common.go
+1
-1
auth.go
gin/middleware/auth.go
+2
-2
breaker_test.go
gin/middleware/breaker_test.go
+1
-1
logging.go
gin/middleware/logging.go
+1
-1
logging_test.go
gin/middleware/logging_test.go
+2
-2
metrics_test.go
gin/middleware/metrics/metrics_test.go
+1
-1
rate_limiter.go
gin/middleware/rate_limiter.go
+1
-1
ratelimit_test.go
gin/middleware/ratelimit_test.go
+1
-1
recovery.go
gin/middleware/recovery.go
+1
-1
requstid.go
gin/middleware/requstid.go
+1
-1
sync_ratelimiter.go
gin/middleware/sync_ratelimiter/sync_ratelimiter.go
+1
-1
sync_ratelimiter_test.go
gin/middleware/sync_ratelimiter/sync_ratelimiter_test.go
+1
-1
tracing_test.go
gin/middleware/tracing_test.go
+1
-1
prof_test.go
gin/prof/prof_test.go
+1
-1
request.go
gin/request/request.go
+1
-1
response.go
gin/response/response.go
+1
-1
response_test.go
gin/response/response_test.go
+1
-1
swagger_test.go
gin/swagger/swagger_test.go
+1
-1
validator_test.go
gin/validator/validator_test.go
+1
-1
xgin.go
gin/xgin/xgin.go
+1
-1
cache_test.go
pkg/cache/cache_test.go
+1
-1
memory.go
pkg/cache/memory.go
+2
-2
memory_test.go
pkg/cache/memory_test.go
+1
-1
redis_test.go
pkg/cache/redis_test.go
+1
-1
email.go
pkg/email/biz/email.go
+3
-3
email_receiver.go
pkg/email/biz/email_receiver.go
+3
-3
email_send.go
pkg/email/biz/email_send.go
+3
-3
email_send_log.go
pkg/email/biz/email_send_log.go
+3
-3
email_tpl.go
pkg/email/biz/email_tpl.go
+2
-2
email_tpl_receiver.go
pkg/email/biz/email_tpl_receiver.go
+3
-3
email.go
pkg/email/controller/email.go
+1
-1
email_receiver.go
pkg/email/controller/email_receiver.go
+1
-1
email_send.go
pkg/email/controller/email_send.go
+1
-1
email_send_log.go
pkg/email/controller/email_send_log.go
+1
-1
email_tpl.go
pkg/email/controller/email_tpl.go
+1
-1
email_tpl_receiver.go
pkg/email/controller/email_tpl_receiver.go
+1
-1
email.go
pkg/email/dao/email.go
+1
-1
email_receiver.go
pkg/email/dao/email_receiver.go
+1
-1
email_send.go
pkg/email/dao/email_send.go
+1
-1
email_send_log.go
pkg/email/dao/email_send_log.go
+1
-1
email_tpl_receiver.go
pkg/email/dao/email_tpl_receiver.go
+1
-1
email.go
pkg/email/email.go
+1
-1
email.go
pkg/email/models/email.go
+3
-3
email_receiver.go
pkg/email/models/email_receiver.go
+3
-3
email_send.go
pkg/email/models/email_send.go
+3
-3
email_send_log.go
pkg/email/models/email_send_log.go
+3
-3
email_tpl.go
pkg/email/models/email_tpl.go
+2
-2
email_tpl_receiver.go
pkg/email/models/email_tpl_receiver.go
+3
-3
common.go
pkg/email/service/common.go
+1
-1
email.go
pkg/email/service/email.go
+2
-2
email_receiver.go
pkg/email/service/email_receiver.go
+2
-2
email_send.go
pkg/email/service/email_send.go
+2
-2
email_send_log.go
pkg/email/service/email_send_log.go
+2
-2
email_tpl.go
pkg/email/service/email_tpl.go
+2
-2
email_tpl_receiver.go
pkg/email/service/email_tpl_receiver.go
+2
-2
email.go
pkg/email/types/email.go
+2
-2
email_receiver.go
pkg/email/types/email_receiver.go
+2
-2
email_send.go
pkg/email/types/email_send.go
+3
-3
email_send_log.go
pkg/email/types/email_send_log.go
+3
-3
email_tpl.go
pkg/email/types/email_tpl.go
+2
-2
email_tpl_receiver.go
pkg/email/types/email_tpl_receiver.go
+2
-2
xsf_utils.go
pkg/email/xsf_utils/xsf_utils.go
+3
-3
rpc_error_test.go
pkg/errcode/rpc_error_test.go
+1
-1
logger.go
pkg/goredis/logger.go
+1
-1
cache.go
pkg/gotest/cache.go
+1
-1
handler.go
pkg/gotest/handler.go
+1
-1
service.go
pkg/gotest/service.go
+1
-1
entity.go
pkg/httpcli/entity/entity.go
+1
-1
httpcli.go
pkg/httpcli/httpcli.go
+2
-2
http_test.go
pkg/prof/http_test.go
+1
-1
query_condition.go
pkg/sgorm/query/query_condition.go
+1
-1
server_test.go
pkg/ws/server_test.go
+1
-1
ws.go
pkg/ws/ws.go
+1
-1
biz.go
xcommon/biz.go
+1
-1
controller.go
xcommon/controller.go
+1
-1
ocache.go
xcommon/ocache/ocache.go
+2
-2
odao.go
xcommon/odao/odao.go
+4
-4
models.go
xcommon/xmodels/models.go
+3
-3
cron_job.go
xcron/biz/cron_job.go
+3
-3
cron_job_log.go
xcron/biz/cron_job_log.go
+3
-3
cron_job_record.go
xcron/biz/cron_job_record.go
+3
-3
cron_job.go
xcron/controller/cron_job.go
+3
-3
cron.go
xcron/cron.go
+2
-2
cron_job.go
xcron/dao/cron_job.go
+1
-1
cron_job_log.go
xcron/dao/cron_job_log.go
+1
-1
cron_job_record.go
xcron/dao/cron_job_record.go
+1
-1
cron_job.go
xcron/models/cron_job.go
+2
-2
cron_job_log.go
xcron/models/cron_job_log.go
+3
-3
cron_job_record.go
xcron/models/cron_job_record.go
+3
-3
cron_job.go
xcron/service/cron_job.go
+2
-2
cron_job_log.go
xcron/service/cron_job_log.go
+1
-1
cron_job_record.go
xcron/service/cron_job_record.go
+1
-1
cron_job.go
xcron/types/cron_job.go
+2
-2
cron_job_log.go
xcron/types/cron_job_log.go
+2
-2
cron_job_record.go
xcron/types/cron_job_record.go
+2
-2
idcard.go
xutils/cd/idcard.go
+0
-0
init.go
xutils/cd/init.go
+0
-0
init_test.go
xutils/cd/init_test.go
+0
-0
mobile.go
xutils/cd/mobile.go
+0
-0
password.go
xutils/cd/password.go
+0
-0
password_test.go
xutils/cd/password_test.go
+0
-0
convert.go
xutils/convertutils/convert.go
+0
-0
csv_exporter.go
xutils/csv_exporter/csv_exporter.go
+0
-0
ctx.go
xutils/ctxutils/ctx.go
+0
-0
dsn.go
xutils/dsn.go
+0
-0
dsn_test.go
xutils/dsn_test.go
+0
-0
dxsf.go
xutils/dxsf/dxsf.go
+0
-0
eg.go
xutils/egutils/eg.go
+0
-0
file_path.go
xutils/fileutils/file_path.go
+0
-0
option.go
xutils/fileutils/option.go
+0
-0
go.go
xutils/goutils/go.go
+0
-0
md5.go
xutils/hashutils/md5.go
+0
-0
host.go
xutils/host.go
+0
-0
host_test.go
xutils/host_test.go
+0
-0
json.go
xutils/jsonutils/json.go
+0
-0
map_utils.go
xutils/maputils/map_utils.go
+0
-0
red_sync_utils.go
xutils/redsyncutils/red_sync_utils.go
+0
-0
retry_utils.go
xutils/retryutils/retry_utils.go
+0
-0
saferun.go
xutils/saferun.go
+0
-0
saferun_test.go
xutils/saferun_test.go
+0
-0
xset.go
xutils/setutils/xset.go
+0
-0
xslice.go
xutils/sliceutils/xslice.go
+0
-0
stack.go
xutils/stackutils/stack.go
+0
-0
xstring.go
xutils/stringutils/xstring.go
+0
-0
time.go
xutils/time.go
+0
-0
time_test.go
xutils/time_test.go
+0
-0
type_convert.go
xutils/type_convert.go
+0
-0
type_convert_test.go
xutils/type_convert_test.go
+0
-0
uriUtils.go
xutils/uriutils/uriUtils.go
+0
-0
xuuid.go
xutils/uuidutils/xuuid.go
+0
-0
wait_print.go
xutils/wait_print.go
+0
-0
wait_print_test.go
xutils/wait_print_test.go
+0
-0
web_log.go
xutils/weblogutils/web_log.go
+0
-0
weblog.sql
xutils/weblogutils/weblog.sql
+0
-0
wg.go
xutils/wg/wg.go
+0
-0
xsf.go
xutils/xsf/xsf.go
+0
-0
xsf_test.go
xutils/xsf/xsf_test.go
+0
-0
date.go
xutils/xtime/date.go
+0
-0
date_test.go
xutils/xtime/date_test.go
+0
-0
datetime.go
xutils/xtime/datetime.go
+0
-0
datetime_test.go
xutils/xtime/datetime_test.go
+0
-0
time.go
xutils/xtime/time.go
+0
-0
time_test.go
xutils/xtime/time_test.go
+0
-0
没有找到文件。
application/init_app.go
浏览文件 @
3d3f2557
...
...
@@ -17,10 +17,10 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/tracer"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/rd/nacos"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/dxsf"
goutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/goutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/dxsf"
goutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/goutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/app"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
...
...
config/consul.go
浏览文件 @
3d3f2557
...
...
@@ -6,7 +6,7 @@ import (
"time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/eventbus"
hashutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/hashutils"
hashutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/hashutils"
"github.com/hashicorp/consul/api"
"github.com/spf13/viper"
...
...
database/mysql.go
浏览文件 @
3d3f2557
...
...
@@ -3,13 +3,13 @@ package database
import
(
"time"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/config"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/mysql"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
InitMysql
(
dbConfig
*
config
.
Database
)
(
*
sgorm
.
DB
,
error
)
{
...
...
gin/handlerfunc/common.go
浏览文件 @
3d3f2557
...
...
@@ -10,7 +10,7 @@ import (
"github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
// CheckHealthReply check health result
...
...
gin/middleware/auth.go
浏览文件 @
3d3f2557
...
...
@@ -7,8 +7,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
)
const
(
...
...
gin/middleware/breaker_test.go
浏览文件 @
3d3f2557
...
...
@@ -15,7 +15,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/container/group"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/shield/circuitbreaker"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
runCircuitBreakerHTTPServer
()
string
{
...
...
gin/middleware/logging.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli/entity"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/ips"
...
...
gin/middleware/logging_test.go
浏览文件 @
3d3f2557
...
...
@@ -10,8 +10,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
)
func
init
()
{
...
...
gin/middleware/metrics/metrics_test.go
浏览文件 @
3d3f2557
...
...
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/gin/handlerfunc"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
TestMetrics
(
t
*
testing
.
T
)
{
...
...
gin/middleware/rate_limiter.go
浏览文件 @
3d3f2557
...
...
@@ -14,7 +14,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/eventbus"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/ips"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
)
var
(
...
...
gin/middleware/ratelimit_test.go
浏览文件 @
3d3f2557
...
...
@@ -13,7 +13,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
runRateLimiterHTTPServer
()
string
{
...
...
gin/middleware/recovery.go
浏览文件 @
3d3f2557
...
...
@@ -3,7 +3,7 @@ package middleware
import
(
"net/http"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
...
...
gin/middleware/requstid.go
浏览文件 @
3d3f2557
...
...
@@ -6,7 +6,7 @@ import (
"time"
"github.com/gin-gonic/gin"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"go.uber.org/zap"
)
...
...
gin/middleware/sync_ratelimiter/sync_ratelimiter.go
浏览文件 @
3d3f2557
...
...
@@ -9,7 +9,7 @@ import (
"github.com/redis/go-redis/v9"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/goredis"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"go.uber.org/zap"
)
...
...
gin/middleware/sync_ratelimiter/sync_ratelimiter_test.go
浏览文件 @
3d3f2557
...
...
@@ -2,7 +2,7 @@ package sw
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"testing"
"time"
)
...
...
gin/middleware/tracing_test.go
浏览文件 @
3d3f2557
...
...
@@ -7,7 +7,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
...
...
gin/prof/prof_test.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
TestRegister
(
t
*
testing
.
T
)
{
...
...
gin/request/request.go
浏览文件 @
3d3f2557
...
...
@@ -5,7 +5,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
)
const
(
...
...
gin/response/response.go
浏览文件 @
3d3f2557
...
...
@@ -10,7 +10,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli/entity"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"github.com/gin-gonic/gin"
...
...
gin/response/response_test.go
浏览文件 @
3d3f2557
...
...
@@ -12,7 +12,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
var
(
...
...
gin/swagger/swagger_test.go
浏览文件 @
3d3f2557
...
...
@@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
runHTTPServer
(
registerSwaggerFn
func
(
r
*
gin
.
Engine
))
string
{
...
...
gin/validator/validator_test.go
浏览文件 @
3d3f2557
...
...
@@ -17,7 +17,7 @@ import (
"github.com/gin-gonic/gin/binding"
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
runValidatorHTTPServer
()
string
{
...
...
gin/xgin/xgin.go
浏览文件 @
3d3f2557
...
...
@@ -26,8 +26,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/text"
"gitlab.wanzhuangkj.com/tush/xpkg/util/weblogutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/weblogutils"
)
func
New
()
*
gin
.
Engine
{
...
...
pkg/cache/cache_test.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
type
cacheUser
struct
{
...
...
pkg/cache/memory.go
浏览文件 @
3d3f2557
...
...
@@ -13,8 +13,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
xslice
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/sliceutils"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
xslice
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/sliceutils"
)
type
memoryCache
struct
{
...
...
pkg/cache/memory_test.go
浏览文件 @
3d3f2557
...
...
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
type
memoryUser
struct
{
...
...
pkg/cache/redis_test.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
type
redisUser
struct
{
...
...
pkg/email/biz/email.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
Email
struct
{
...
...
pkg/email/biz/email_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
EmailReceiver
struct
{
...
...
pkg/email/biz/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
EmailSend
struct
{
...
...
pkg/email/biz/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
EmailSendLog
struct
{
...
...
pkg/email/biz/email_tpl.go
浏览文件 @
3d3f2557
...
...
@@ -2,9 +2,9 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
EmailTpl
struct
{
...
...
pkg/email/biz/email_tpl_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
EmailTplReceiver
struct
{
...
...
pkg/email/controller/email.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailController
struct
{
...
...
pkg/email/controller/email_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailReceiverController
struct
{
...
...
pkg/email/controller/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailSendController
struct
{
...
...
pkg/email/controller/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailSendLogController
struct
{
...
...
pkg/email/controller/email_tpl.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailTplController
struct
{
...
...
pkg/email/controller/email_tpl_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
)
type
emailTplReceiverController
struct
{
...
...
pkg/email/dao/email.go
浏览文件 @
3d3f2557
...
...
@@ -3,8 +3,8 @@ package dao
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailDao
struct
{
...
...
pkg/email/dao/email_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -3,8 +3,8 @@ package dao
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailReceiverDao
struct
{
...
...
pkg/email/dao/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -4,8 +4,8 @@ import (
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailSendDao
struct
{
...
...
pkg/email/dao/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -4,8 +4,8 @@ import (
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailSendLogDao
struct
{
...
...
pkg/email/dao/email_tpl_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -3,8 +3,8 @@ package dao
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailTplReceiverDao
struct
{
...
...
pkg/email/email.go
浏览文件 @
3d3f2557
...
...
@@ -18,7 +18,7 @@ import (
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gorm.io/gorm"
"gopkg.in/gomail.v2"
...
...
pkg/email/models/email.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/models/email_receiver.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/models/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -2,9 +2,9 @@ package models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/models/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -2,9 +2,9 @@ package models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/models/email_tpl.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/models/email_tpl_receiver.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
pkg/email/service/common.go
浏览文件 @
3d3f2557
...
...
@@ -5,7 +5,7 @@ import (
"time"
"github.com/spf13/cast"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
)
type
commonService
struct
{}
...
...
pkg/email/service/email.go
浏览文件 @
3d3f2557
...
...
@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailService
struct
{
...
...
pkg/email/service/email_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailReceiverService
struct
{
...
...
pkg/email/service/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -11,9 +11,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailSendService
struct
{
...
...
pkg/email/service/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailSendLogService
struct
{
...
...
pkg/email/service/email_tpl.go
浏览文件 @
3d3f2557
...
...
@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailTplService
struct
{
...
...
pkg/email/service/email_tpl_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/util/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
csvexporter
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/csv_exporter"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
emailTplReceiverService
struct
{
...
...
pkg/email/types/email.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/types/email_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/types/email_send.go
浏览文件 @
3d3f2557
...
...
@@ -7,9 +7,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/types/email_send_log.go
浏览文件 @
3d3f2557
...
...
@@ -7,9 +7,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/types/email_tpl.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/types/email_tpl_receiver.go
浏览文件 @
3d3f2557
...
...
@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
var
_
xtime
.
DateTime
...
...
pkg/email/xsf_utils/xsf_utils.go
浏览文件 @
3d3f2557
...
...
@@ -5,9 +5,9 @@ import (
"fmt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/dxsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/dxsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
)
const
(
...
...
pkg/errcode/rpc_error_test.go
浏览文件 @
3d3f2557
...
...
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"google.golang.org/grpc/status"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
var
rpcStatus
=
[]
*
RPCStatus
{
...
...
pkg/goredis/logger.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxUtil
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
"github.com/redis/go-redis/v9"
"go.uber.org/zap"
...
...
pkg/gotest/cache.go
浏览文件 @
3d3f2557
...
...
@@ -6,7 +6,7 @@ import (
"github.com/alicebob/miniredis/v2"
"github.com/redis/go-redis/v9"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
// Cache redis cache
...
...
pkg/gotest/handler.go
浏览文件 @
3d3f2557
...
...
@@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
// Handler info
...
...
pkg/gotest/service.go
浏览文件 @
3d3f2557
...
...
@@ -9,7 +9,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
// Service info
...
...
pkg/httpcli/entity/entity.go
浏览文件 @
3d3f2557
...
...
@@ -5,7 +5,7 @@ import (
"fmt"
"github.com/gin-gonic/gin"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
)
type
CopyHttpReq
struct
{
...
...
pkg/httpcli/httpcli.go
浏览文件 @
3d3f2557
...
...
@@ -18,8 +18,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
retryutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/retryutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
retryutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/retryutils"
)
const
defaultTimeout
=
30
*
time
.
Second
...
...
pkg/prof/http_test.go
浏览文件 @
3d3f2557
...
...
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
TestRegister
(
t
*
testing
.
T
)
{
...
...
pkg/sgorm/query/query_condition.go
浏览文件 @
3d3f2557
...
...
@@ -6,7 +6,7 @@ import (
"strings"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
)
const
(
...
...
pkg/ws/server_test.go
浏览文件 @
3d3f2557
...
...
@@ -13,7 +13,7 @@ import (
"github.com/gorilla/websocket"
"go.uber.org/zap"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
)
func
TestWebSocketServerDefault
(
t
*
testing
.
T
)
{
...
...
pkg/ws/ws.go
浏览文件 @
3d3f2557
...
...
@@ -10,7 +10,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"github.com/gin-gonic/gin"
"github.com/gorilla/websocket"
...
...
xcommon/biz.go
浏览文件 @
3d3f2557
...
...
@@ -2,7 +2,7 @@ package xcommon
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xtype"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
)
type
IConverter
[
ID
xtype
.
Key
,
T
,
B
any
]
interface
{
...
...
xcommon/controller.go
浏览文件 @
3d3f2557
...
...
@@ -12,7 +12,7 @@ import (
"github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
maputils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/maputils"
maputils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/maputils"
)
type
IValid
interface
{
...
...
xcommon/ocache/ocache.go
浏览文件 @
3d3f2557
...
...
@@ -11,8 +11,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/cache"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
)
const
(
...
...
xcommon/odao/odao.go
浏览文件 @
3d3f2557
...
...
@@ -12,11 +12,11 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
setutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/ocache"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
setutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"golang.org/x/sync/singleflight"
"gorm.io/gorm"
olog
"gorm.io/gorm/logger"
...
...
xcommon/xmodels/models.go
浏览文件 @
3d3f2557
package
xmodels
import
(
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/ctxutils"
setutils
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/ctxutils"
setutils
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gorm.io/gorm"
)
...
...
xcron/biz/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -5,10 +5,10 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
)
type
CronJob
struct
{
...
...
xcron/biz/cron_job_log.go
浏览文件 @
3d3f2557
package
biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
CronJobLog
struct
{
...
...
xcron/biz/cron_job_record.go
浏览文件 @
3d3f2557
...
...
@@ -3,10 +3,10 @@ package biz
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
CronJobRecord
struct
{
...
...
xcron/controller/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -12,9 +12,6 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/redsyncutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
...
...
@@ -22,6 +19,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/service"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/redsyncutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
)
const
(
...
...
xcron/cron.go
浏览文件 @
3d3f2557
...
...
@@ -7,12 +7,12 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/config"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/controller"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/service"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
ctxutils
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
)
func
AddHandler
(
k
string
,
h
controller
.
Fn
)
{
...
...
xcron/dao/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"golang.org/x/sync/singleflight"
"gorm.io/gorm"
glogger
"gorm.io/gorm/logger"
...
...
xcron/dao/cron_job_log.go
浏览文件 @
3d3f2557
...
...
@@ -3,9 +3,9 @@ package dao
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"golang.org/x/sync/singleflight"
)
...
...
xcron/dao/cron_job_record.go
浏览文件 @
3d3f2557
...
...
@@ -3,9 +3,9 @@ package dao
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"golang.org/x/sync/singleflight"
)
...
...
xcron/models/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -5,8 +5,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
xcron/models/cron_job_log.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
xcron/models/cron_job_record.go
浏览文件 @
3d3f2557
package
models
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/xtime"
"gorm.io/gorm"
)
...
...
xcron/service/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -4,7 +4,6 @@ import (
"context"
"fmt"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
...
...
@@ -12,10 +11,11 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"github.com/jinzhu/copier"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/
util
/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/
xutils
/sliceutils"
)
type
cronJobService
struct
{
...
...
xcron/service/cron_job_log.go
浏览文件 @
3d3f2557
...
...
@@ -3,12 +3,12 @@ package service
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
cronJobLogService
struct
{
...
...
xcron/service/cron_job_record.go
浏览文件 @
3d3f2557
...
...
@@ -3,12 +3,12 @@ package service
import
(
"context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
)
type
cronJobRecordService
struct
{
...
...
xcron/types/cron_job.go
浏览文件 @
3d3f2557
...
...
@@ -2,11 +2,11 @@ package types
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
)
var
_
xtime
.
DateTime
...
...
xcron/types/cron_job_log.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package types
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
)
var
_
xtime
.
DateTime
...
...
xcron/types/cron_job_record.go
浏览文件 @
3d3f2557
...
...
@@ -2,10 +2,10 @@ package types
import
(
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
)
var
_
xtime
.
DateTime
...
...
util
/cd/idcard.go
→
xutils
/cd/idcard.go
浏览文件 @
3d3f2557
File moved
util
/cd/init.go
→
xutils
/cd/init.go
浏览文件 @
3d3f2557
File moved
util
/cd/init_test.go
→
xutils
/cd/init_test.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/cd/mobile.go
→
xutils
/cd/mobile.go
浏览文件 @
3d3f2557
File moved
util
/cd/password.go
→
xutils
/cd/password.go
浏览文件 @
3d3f2557
File moved
util
/cd/password_test.go
→
xutils
/cd/password_test.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/convertutils/convert.go
→
xutils
/convertutils/convert.go
浏览文件 @
3d3f2557
File moved
util
/csv_exporter/csv_exporter.go
→
xutils
/csv_exporter/csv_exporter.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/ctxutils/ctx.go
→
xutils
/ctxutils/ctx.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/dsn.go
→
xutils
/dsn.go
浏览文件 @
3d3f2557
File moved
util
/dsn_test.go
→
xutils
/dsn_test.go
浏览文件 @
3d3f2557
File moved
util
/dxsf/dxsf.go
→
xutils
/dxsf/dxsf.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/egutils/eg.go
→
xutils
/egutils/eg.go
浏览文件 @
3d3f2557
File moved
util
/fileutils/file_path.go
→
xutils
/fileutils/file_path.go
浏览文件 @
3d3f2557
File moved
util
/fileutils/option.go
→
xutils
/fileutils/option.go
浏览文件 @
3d3f2557
File moved
util
/goutils/go.go
→
xutils
/goutils/go.go
浏览文件 @
3d3f2557
File moved
util
/hashutils/md5.go
→
xutils
/hashutils/md5.go
浏览文件 @
3d3f2557
File moved
util
/host.go
→
xutils
/host.go
浏览文件 @
3d3f2557
File moved
util
/host_test.go
→
xutils
/host_test.go
浏览文件 @
3d3f2557
File moved
util
/jsonutils/json.go
→
xutils
/jsonutils/json.go
浏览文件 @
3d3f2557
File moved
util
/maputils/map_utils.go
→
xutils
/maputils/map_utils.go
浏览文件 @
3d3f2557
File moved
util
/redsyncutils/red_sync_utils.go
→
xutils
/redsyncutils/red_sync_utils.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/retryutils/retry_utils.go
→
xutils
/retryutils/retry_utils.go
浏览文件 @
3d3f2557
File moved
util
/saferun.go
→
xutils
/saferun.go
浏览文件 @
3d3f2557
File moved
util
/saferun_test.go
→
xutils
/saferun_test.go
浏览文件 @
3d3f2557
File moved
util
/setutils/xset.go
→
xutils
/setutils/xset.go
浏览文件 @
3d3f2557
File moved
util
/sliceutils/xslice.go
→
xutils
/sliceutils/xslice.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/stackutils/stack.go
→
xutils
/stackutils/stack.go
浏览文件 @
3d3f2557
File moved
util
/stringutils/xstring.go
→
xutils
/stringutils/xstring.go
浏览文件 @
3d3f2557
File moved
util
/time.go
→
xutils
/time.go
浏览文件 @
3d3f2557
File moved
util
/time_test.go
→
xutils
/time_test.go
浏览文件 @
3d3f2557
File moved
util
/type_convert.go
→
xutils
/type_convert.go
浏览文件 @
3d3f2557
File moved
util
/type_convert_test.go
→
xutils
/type_convert_test.go
浏览文件 @
3d3f2557
File moved
util
/uriutils/uriUtils.go
→
xutils
/uriutils/uriUtils.go
浏览文件 @
3d3f2557
File moved
util
/uuidutils/xuuid.go
→
xutils
/uuidutils/xuuid.go
浏览文件 @
3d3f2557
File moved
util
/wait_print.go
→
xutils
/wait_print.go
浏览文件 @
3d3f2557
File moved
util
/wait_print_test.go
→
xutils
/wait_print_test.go
浏览文件 @
3d3f2557
File moved
util
/weblogutils/web_log.go
→
xutils
/weblogutils/web_log.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/weblogutils/weblog.sql
→
xutils
/weblogutils/weblog.sql
浏览文件 @
3d3f2557
File moved
util
/wg/wg.go
→
xutils
/wg/wg.go
浏览文件 @
3d3f2557
差异被折叠。
点击展开。
util
/xsf/xsf.go
→
xutils
/xsf/xsf.go
浏览文件 @
3d3f2557
File moved
util
/xsf/xsf_test.go
→
xutils
/xsf/xsf_test.go
浏览文件 @
3d3f2557
File moved
util
/xtime/date.go
→
xutils
/xtime/date.go
浏览文件 @
3d3f2557
File moved
util
/xtime/date_test.go
→
xutils
/xtime/date_test.go
浏览文件 @
3d3f2557
File moved
util
/xtime/datetime.go
→
xutils
/xtime/datetime.go
浏览文件 @
3d3f2557
File moved
util
/xtime/datetime_test.go
→
xutils
/xtime/datetime_test.go
浏览文件 @
3d3f2557
File moved
util
/xtime/time.go
→
xutils
/xtime/time.go
浏览文件 @
3d3f2557
File moved
util
/xtime/time_test.go
→
xutils
/xtime/time_test.go
浏览文件 @
3d3f2557
File moved
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论