diff --git a/rest/server.go b/rest/server.go index 56ef157e..0046712c 100644 --- a/rest/server.go +++ b/rest/server.go @@ -11,9 +11,6 @@ import ( "github.com/tal-tech/go-zero/rest/router" ) -// SetSlowThreshold sets the slow threshold. -var SetSlowThreshold = handler.SetSlowThreshold - type ( runOptions struct { start func(*engine) error diff --git a/tools/goctl/internal/version/version.go b/tools/goctl/internal/version/version.go index fa00c247..73380151 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.2.2" +const BuildVersion = "1.2.3" // GetGoctlVersion returns BuildVersion func GetGoctlVersion() string {