diff --git a/core/proc/shutdown+polyfill.go b/core/proc/shutdown+polyfill.go index 23128740567a..f371f579beb2 100644 --- a/core/proc/shutdown+polyfill.go +++ b/core/proc/shutdown+polyfill.go @@ -5,7 +5,7 @@ package proc import "time" // ShutdownConf is empty on windows. -type ShutdownConf struct {} +type ShutdownConf struct{} // AddShutdownListener returns fn itself on windows, lets callers call fn on their own. func AddShutdownListener(fn func()) func() { @@ -22,7 +22,7 @@ func SetTimeToForceQuit(duration time.Duration) { } // Setup does nothing on windows. -func Setup() { +func Setup(conf ShutdownConf) { } // Shutdown does nothing on windows. diff --git a/tools/goctl/internal/version/version.go b/tools/goctl/internal/version/version.go index bdbbc6282157..a9df8ca4e2ad 100644 --- a/tools/goctl/internal/version/version.go +++ b/tools/goctl/internal/version/version.go @@ -6,7 +6,7 @@ import ( ) // BuildVersion is the version of goctl. -const BuildVersion = "1.7.4" +const BuildVersion = "1.7.5" var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5}