From 7e3fe77e7b8f457a1655b7a9d4ae67d20c9fe08c Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Mon, 1 Nov 2021 18:26:08 +0800 Subject: [PATCH] chore: update goctl version to 1.2.3, prepare for release (#1193) * feat: slow threshold customizable in rest * chore: update goctl version to 1.2.3, prepare for release --- rest/server.go | 3 --- tools/goctl/internal/version/version.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 {