update: 依赖更新。

This commit is contained in:
lanyulei
2023-11-28 22:18:28 +08:00
parent 829dc3a4ec
commit c9daf3fc54
19 changed files with 110 additions and 9471 deletions

View File

@@ -11,7 +11,7 @@ import (
"strings"
"github.com/gin-gonic/gin"
uuid "github.com/satori/go.uuid"
uuid "github.com/google/uuid"
"github.com/spf13/viper"
)
@@ -116,7 +116,7 @@ func CreateTask(c *gin.Context) {
return
}
uuidValue := uuid.Must(uuid.NewV4(), err)
uuidValue := uuid.Must(uuid.New(), err)
fileName := fmt.Sprintf("%v/%v-%v-%v",
viper.GetString("script.path"),
taskValue.Name,