From 9e33e9695809bbac63e08dcbca59bc3704f23d4f Mon Sep 17 00:00:00 2001 From: Michael Li Date: Thu, 15 Dec 2022 11:23:34 +0800 Subject: [PATCH] upgrade github.com/alimy/mir/v3 => v3.0.0-alpha.7 --- go.mod | 2 +- go.sum | 4 ++-- internal/mirc/main.go | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 80d99a7f..472bfab1 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/Masterminds/semver/v3 v3.1.1 github.com/afocus/captcha v0.0.0-20191010092841-4bd1f21c8868 github.com/alimy/cfg v0.1.0 - github.com/alimy/mir/v3 v3.0.0-alpha.6 + github.com/alimy/mir/v3 v3.0.0-alpha.7 github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible github.com/allegro/bigcache/v3 v3.0.2 github.com/bytedance/sonic v1.5.0 diff --git a/go.sum b/go.sum index dee0dc5e..51625619 100644 --- a/go.sum +++ b/go.sum @@ -144,8 +144,8 @@ github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:C github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/alimy/cfg v0.1.0 h1:J7KDLEoVIjEBMGlQJb2ljad/d49gJ4Tsl2ogZ9XNhaY= github.com/alimy/cfg v0.1.0/go.mod h1:rOxbasTH2srl6StAjNF5Vyi8bfrdkl3fLGmOYtSw81c= -github.com/alimy/mir/v3 v3.0.0-alpha.6 h1:4xcyE12MgzTbcIcYtnt3ILrVrxFjI71qhqh0JL2gB58= -github.com/alimy/mir/v3 v3.0.0-alpha.6/go.mod h1:ybhT2ijOiDn0lLwWzIY6vXdv+uzZrctS7VFfczcXBWU= +github.com/alimy/mir/v3 v3.0.0-alpha.7 h1:CuT+wx8KuwgPjzNz5AUDlobqSgFOWNvyzF2tBXm7Hek= +github.com/alimy/mir/v3 v3.0.0-alpha.7/go.mod h1:ybhT2ijOiDn0lLwWzIY6vXdv+uzZrctS7VFfczcXBWU= github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible h1:9gWa46nstkJ9miBReJcN8Gq34cBFbzSpQZVVT9N09TM= github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= diff --git a/internal/mirc/main.go b/internal/mirc/main.go index 6213d798..05431a6c 100644 --- a/internal/mirc/main.go +++ b/internal/mirc/main.go @@ -21,8 +21,9 @@ import ( func main() { log.Println("generate code start") opts := Options{ - RunMode(InSerialDebugMode), + RunMode(InSerialMode), GeneratorName(GeneratorGin), + WatchCtxDone(true), SinkPath("auto"), } if err := Generate(opts); err != nil {