فهرست منبع

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
Kevin Wan 3 سال پیش
والد
کامیت
7e3fe77e7b
2فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 0 3
      rest/server.go
  2. 1 1
      tools/goctl/internal/version/version.go

+ 0 - 3
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

+ 1 - 1
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 {