Skip to content

Commit

Permalink
update: 依赖更新。
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolei-shuai committed Nov 28, 2023
1 parent 829dc3a commit c9daf3f
Show file tree
Hide file tree
Showing 19 changed files with 110 additions and 9,471 deletions.
4 changes: 2 additions & 2 deletions apis/process/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ func run() error {
tools.GetCurrntTimeStr(),
config2.ApplicationConfig.Host,
config2.ApplicationConfig.Port)
fmt.Printf("%s Swagger URL http://%s:%s/swagger/index.html \r\n",
tools.GetCurrntTimeStr(),
config2.ApplicationConfig.Host,
config2.ApplicationConfig.Port)
//fmt.Printf("%s Swagger URL http://%s:%s/swagger/index.html \r\n",
// tools.GetCurrntTimeStr(),
// config2.ApplicationConfig.Host,
// config2.ApplicationConfig.Port)
fmt.Printf("%s Enter Control + C Shutdown Server \r\n", tools.GetCurrntTimeStr())
// 等待中断信号以优雅地关闭服务器(设置 5 秒的超时时间)
quit := make(chan os.Signal)
Expand Down
15 changes: 0 additions & 15 deletions database/sqlite3.go

This file was deleted.

1 change: 0 additions & 1 deletion docs/_config.yml

This file was deleted.

Loading

0 comments on commit c9daf3f

Please sign in to comment.