提交 3d3f2557 authored 作者: mooncake's avatar mooncake

update

上级 cdc075ba
...@@ -17,10 +17,10 @@ import ( ...@@ -17,10 +17,10 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/tracer" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/tracer"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/rd/nacos" "gitlab.wanzhuangkj.com/tush/xpkg/rd/nacos"
"gitlab.wanzhuangkj.com/tush/xpkg/util/dxsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/dxsf"
goutils "gitlab.wanzhuangkj.com/tush/xpkg/util/goutils" goutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/goutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/app" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/app"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
......
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
"time" "time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/eventbus" "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/hashicorp/consul/api"
"github.com/spf13/viper" "github.com/spf13/viper"
......
...@@ -3,13 +3,13 @@ package database ...@@ -3,13 +3,13 @@ package database
import ( import (
"time" "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/config"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/mysql" "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) { func InitMysql(dbConfig *config.Database) (*sgorm.DB, error) {
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
// CheckHealthReply check health result // CheckHealthReply check health result
......
...@@ -7,8 +7,8 @@ import ( ...@@ -7,8 +7,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
const ( const (
......
...@@ -15,7 +15,7 @@ import ( ...@@ -15,7 +15,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/container/group" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/container/group"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/shield/circuitbreaker" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/shield/circuitbreaker"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func runCircuitBreakerHTTPServer() string { func runCircuitBreakerHTTPServer() string {
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"time" "time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli/entity" "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" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/ips"
......
...@@ -10,8 +10,8 @@ import ( ...@@ -10,8 +10,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
func init() { func init() {
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/gin/handlerfunc" "gitlab.wanzhuangkj.com/tush/xpkg/gin/handlerfunc"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func TestMetrics(t *testing.T) { func TestMetrics(t *testing.T) {
......
...@@ -14,7 +14,7 @@ import ( ...@@ -14,7 +14,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/eventbus" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/eventbus"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/ips" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/ips"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
var ( var (
......
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func runRateLimiterHTTPServer() string { func runRateLimiterHTTPServer() string {
......
...@@ -3,7 +3,7 @@ package middleware ...@@ -3,7 +3,7 @@ package middleware
import ( import (
"net/http" "net/http"
ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"go.uber.org/zap" "go.uber.org/zap"
......
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
"time" "time"
"github.com/gin-gonic/gin" "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" "go.uber.org/zap"
) )
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
"github.com/redis/go-redis/v9" "github.com/redis/go-redis/v9"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/goredis" "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" "go.uber.org/zap"
) )
......
...@@ -2,7 +2,7 @@ package sw ...@@ -2,7 +2,7 @@ package sw
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"testing" "testing"
"time" "time"
) )
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "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/gin-gonic/gin"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func TestRegister(t *testing.T) { func TestRegister(t *testing.T) {
......
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
const ( const (
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli/entity" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli/entity"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "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" "github.com/gin-gonic/gin"
......
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
var ( var (
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert" "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 { func runHTTPServer(registerSwaggerFn func(r *gin.Engine)) string {
......
...@@ -17,7 +17,7 @@ import ( ...@@ -17,7 +17,7 @@ import (
"github.com/gin-gonic/gin/binding" "github.com/gin-gonic/gin/binding"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func runValidatorHTTPServer() string { func runValidatorHTTPServer() string {
......
...@@ -26,8 +26,8 @@ import ( ...@@ -26,8 +26,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/text" "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/xcron"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/weblogutils"
) )
func New() *gin.Engine { func New() *gin.Engine {
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
type cacheUser struct { type cacheUser struct {
......
...@@ -13,8 +13,8 @@ import ( ...@@ -13,8 +13,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxUtil "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
xslice "gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils" xslice "gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
) )
type memoryCache struct { type memoryCache struct {
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
type memoryUser struct { type memoryUser struct {
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/gotest"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
type redisUser struct { type redisUser struct {
......
...@@ -2,10 +2,10 @@ package biz ...@@ -2,10 +2,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/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 { type Email struct {
......
...@@ -2,10 +2,10 @@ package biz ...@@ -2,10 +2,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/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 { type EmailReceiver struct {
......
...@@ -2,10 +2,10 @@ package biz ...@@ -2,10 +2,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/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 { type EmailSend struct {
......
...@@ -2,10 +2,10 @@ package biz ...@@ -2,10 +2,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/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 { type EmailSendLog struct {
......
...@@ -2,9 +2,9 @@ package biz ...@@ -2,9 +2,9 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type EmailTpl struct { type EmailTpl struct {
......
...@@ -2,10 +2,10 @@ package biz ...@@ -2,10 +2,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/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 { type EmailTplReceiver struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailController struct { type emailController struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailReceiverController struct { type emailReceiverController struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailSendController struct { type emailSendController struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailSendLogController struct { type emailSendLogController struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailTplController struct { type emailTplController struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/service"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type emailTplReceiverController struct { type emailTplReceiverController struct {
......
...@@ -3,8 +3,8 @@ package dao ...@@ -3,8 +3,8 @@ package dao
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type emailDao struct { type emailDao struct {
......
...@@ -3,8 +3,8 @@ package dao ...@@ -3,8 +3,8 @@ package dao
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type emailReceiverDao struct { type emailReceiverDao struct {
......
...@@ -4,8 +4,8 @@ import ( ...@@ -4,8 +4,8 @@ import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type emailSendDao struct { type emailSendDao struct {
......
...@@ -4,8 +4,8 @@ import ( ...@@ -4,8 +4,8 @@ import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type emailSendLogDao struct { type emailSendLogDao struct {
......
...@@ -3,8 +3,8 @@ package dao ...@@ -3,8 +3,8 @@ package dao
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "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/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type emailTplReceiverDao struct { type emailTplReceiverDao struct {
......
...@@ -18,7 +18,7 @@ import ( ...@@ -18,7 +18,7 @@ import (
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "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" "gorm.io/gorm"
"gopkg.in/gomail.v2" "gopkg.in/gomail.v2"
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
...@@ -2,9 +2,9 @@ package models ...@@ -2,9 +2,9 @@ package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
...@@ -2,9 +2,9 @@ package models ...@@ -2,9 +2,9 @@ package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/spf13/cast" "github.com/spf13/cast"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type commonService struct{} type commonService struct{}
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailService struct {
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailReceiverService struct {
......
...@@ -11,9 +11,9 @@ import ( ...@@ -11,9 +11,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailSendService struct {
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailSendLogService struct {
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailTplService struct {
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/types"
xsfutils "gitlab.wanzhuangkj.com/tush/xpkg/pkg/email/xsf_utils" 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" "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 { type emailTplReceiverService struct {
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -7,9 +7,9 @@ import ( ...@@ -7,9 +7,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -7,9 +7,9 @@ import ( ...@@ -7,9 +7,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/sliceutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/sliceutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/errcode"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -5,9 +5,9 @@ import ( ...@@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/dxsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/dxsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
const ( const (
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"google.golang.org/grpc/status" "google.golang.org/grpc/status"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
var rpcStatus = []*RPCStatus{ var rpcStatus = []*RPCStatus{
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"time" "time"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "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" "github.com/redis/go-redis/v9"
"go.uber.org/zap" "go.uber.org/zap"
......
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
"github.com/alicebob/miniredis/v2" "github.com/alicebob/miniredis/v2"
"github.com/redis/go-redis/v9" "github.com/redis/go-redis/v9"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
// Cache redis cache // Cache redis cache
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
// Handler info // Handler info
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/credentials/insecure"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
// Service info // Service info
......
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
) )
type CopyHttpReq struct { type CopyHttpReq struct {
......
...@@ -18,8 +18,8 @@ import ( ...@@ -18,8 +18,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
retryutils "gitlab.wanzhuangkj.com/tush/xpkg/util/retryutils" retryutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/retryutils"
) )
const defaultTimeout = 30 * time.Second const defaultTimeout = 30 * time.Second
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func TestRegister(t *testing.T) { func TestRegister(t *testing.T) {
......
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
"strings" "strings"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
const ( const (
......
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"go.uber.org/zap" "go.uber.org/zap"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
) )
func TestWebSocketServerDefault(t *testing.T) { func TestWebSocketServerDefault(t *testing.T) {
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/jwt"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "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/gin-gonic/gin"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
......
...@@ -2,7 +2,7 @@ package xcommon ...@@ -2,7 +2,7 @@ package xcommon
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xtype" "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 { type IConverter[ID xtype.Key, T, B any] interface {
......
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/httpcli" "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 { type IValid interface {
......
...@@ -11,8 +11,8 @@ import ( ...@@ -11,8 +11,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/cache" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/cache"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/encoding"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror"
"gitlab.wanzhuangkj.com/tush/xpkg/util" "gitlab.wanzhuangkj.com/tush/xpkg/xutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
const ( const (
......
...@@ -12,11 +12,11 @@ import ( ...@@ -12,11 +12,11 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "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/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" "golang.org/x/sync/singleflight"
"gorm.io/gorm" "gorm.io/gorm"
olog "gorm.io/gorm/logger" olog "gorm.io/gorm/logger"
......
package xmodels package xmodels
import ( import (
ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/util/ctxutils" ctxutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/ctxutils"
setutils "gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" setutils "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
...@@ -5,10 +5,10 @@ import ( ...@@ -5,10 +5,10 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "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/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 { type CronJob struct {
......
package biz package biz
import ( 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/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "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 { type CronJobLog struct {
......
...@@ -3,10 +3,10 @@ package biz ...@@ -3,10 +3,10 @@ package biz
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "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/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 { type CronJobRecord struct {
......
...@@ -12,9 +12,6 @@ import ( ...@@ -12,9 +12,6 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/gin/response" "gitlab.wanzhuangkj.com/tush/xpkg/gin/response"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "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/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
...@@ -22,6 +19,9 @@ import ( ...@@ -22,6 +19,9 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/service" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/service"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types" "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 ( const (
......
...@@ -7,12 +7,12 @@ import ( ...@@ -7,12 +7,12 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/config" "gitlab.wanzhuangkj.com/tush/xpkg/config"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron" "gitlab.wanzhuangkj.com/tush/xpkg/pkg/gocron"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/logger" "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/controller"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/service" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/service"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types" "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) { func AddHandler(k string, h controller.Fn) {
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "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" "golang.org/x/sync/singleflight"
"gorm.io/gorm" "gorm.io/gorm"
glogger "gorm.io/gorm/logger" glogger "gorm.io/gorm/logger"
......
...@@ -3,9 +3,9 @@ package dao ...@@ -3,9 +3,9 @@ package dao
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"golang.org/x/sync/singleflight" "golang.org/x/sync/singleflight"
) )
......
...@@ -3,9 +3,9 @@ package dao ...@@ -3,9 +3,9 @@ package dao
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon/odao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"golang.org/x/sync/singleflight" "golang.org/x/sync/singleflight"
) )
......
...@@ -5,8 +5,8 @@ import ( ...@@ -5,8 +5,8 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
package models package models
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/util/setutils" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/setutils"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xtime" "gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
"gorm.io/gorm" "gorm.io/gorm"
) )
......
...@@ -4,7 +4,6 @@ import ( ...@@ -4,7 +4,6 @@ import (
"context" "context"
"fmt" "fmt"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
...@@ -12,10 +11,11 @@ import ( ...@@ -12,10 +11,11 @@ import (
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"github.com/jinzhu/copier" "github.com/jinzhu/copier"
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/xerrors/xerror" "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 { type cronJobService struct {
......
...@@ -3,12 +3,12 @@ package service ...@@ -3,12 +3,12 @@ package service
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type cronJobLogService struct { type cronJobLogService struct {
......
...@@ -3,12 +3,12 @@ package service ...@@ -3,12 +3,12 @@ package service
import ( import (
"context" "context"
"gitlab.wanzhuangkj.com/tush/xpkg/util/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xcommon" "gitlab.wanzhuangkj.com/tush/xpkg/xcommon"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/dao"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/types" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/types"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
) )
type cronJobRecordService struct { type cronJobRecordService struct {
......
...@@ -2,11 +2,11 @@ package types ...@@ -2,11 +2,11 @@ package types
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "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/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/enums"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -2,10 +2,10 @@ package types ...@@ -2,10 +2,10 @@ package types
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "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/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
...@@ -2,10 +2,10 @@ package types ...@@ -2,10 +2,10 @@ package types
import ( import (
"gitlab.wanzhuangkj.com/tush/xpkg/pkg/sgorm/query" "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/biz"
"gitlab.wanzhuangkj.com/tush/xpkg/xcron/models" "gitlab.wanzhuangkj.com/tush/xpkg/xcron/models"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xsf"
"gitlab.wanzhuangkj.com/tush/xpkg/xutils/xtime"
) )
var _ xtime.DateTime var _ xtime.DateTime
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论