mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-04 18:59:01 +08:00
🎨 改进代码样式
This commit is contained in:
parent
2ed25c6991
commit
8bd6e40ac8
@ -1,9 +1,11 @@
|
|||||||
package score
|
package score
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/utils/process"
|
|
||||||
log "github.com/sirupsen/logrus"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
|
"github.com/FloatTech/ZeroBot-Plugin/utils/process"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
package score
|
package score
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jinzhu/gorm"
|
|
||||||
_ "github.com/logoove/sqlite" // import sql
|
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/jinzhu/gorm"
|
||||||
|
_ "github.com/logoove/sqlite" // import sql
|
||||||
)
|
)
|
||||||
|
|
||||||
// DB 分数数据库
|
// DB 分数数据库
|
||||||
|
|||||||
@ -3,21 +3,23 @@ package score
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/control"
|
"os"
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/utils/ctxext"
|
"strconv"
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/utils/file"
|
"sync"
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/utils/txt2img"
|
"time"
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/utils/web"
|
|
||||||
"github.com/fogleman/gg"
|
"github.com/fogleman/gg"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/tidwall/gjson"
|
"github.com/tidwall/gjson"
|
||||||
zero "github.com/wdvxdr1123/ZeroBot"
|
zero "github.com/wdvxdr1123/ZeroBot"
|
||||||
"github.com/wdvxdr1123/ZeroBot/message"
|
"github.com/wdvxdr1123/ZeroBot/message"
|
||||||
"github.com/wdvxdr1123/ZeroBot/utils/helper"
|
"github.com/wdvxdr1123/ZeroBot/utils/helper"
|
||||||
"os"
|
|
||||||
"strconv"
|
"github.com/FloatTech/ZeroBot-Plugin/control"
|
||||||
"sync"
|
"github.com/FloatTech/ZeroBot-Plugin/utils/ctxext"
|
||||||
"time"
|
"github.com/FloatTech/ZeroBot-Plugin/utils/file"
|
||||||
|
"github.com/FloatTech/ZeroBot-Plugin/utils/txt2img"
|
||||||
|
"github.com/FloatTech/ZeroBot-Plugin/utils/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user