🎨 🔥 统一 seed

This commit is contained in:
fumiama
2022-02-18 20:20:25 +08:00
parent 3838d74cb8
commit bd6925f2f1
7 changed files with 8 additions and 17 deletions

View File

@@ -2,11 +2,9 @@
package gif
import (
"math/rand"
"reflect"
"strconv"
"strings"
"time"
control "github.com/FloatTech/zbputils/control"
"github.com/FloatTech/zbputils/ctxext"
@@ -24,7 +22,6 @@ var (
)
func init() { // 插件主体
rand.Seed(time.Now().UnixNano()) // 设置种子
en := control.Register("gif", order.AcquirePrio(), &control.Options{
DisableOnDefault: false,
Help: "制图\n- " + strings.Join(cmds, "\n- "),