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
This commit is contained in:
@@ -11,9 +11,6 @@ import (
|
|||||||
"github.com/tal-tech/go-zero/rest/router"
|
"github.com/tal-tech/go-zero/rest/router"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SetSlowThreshold sets the slow threshold.
|
|
||||||
var SetSlowThreshold = handler.SetSlowThreshold
|
|
||||||
|
|
||||||
type (
|
type (
|
||||||
runOptions struct {
|
runOptions struct {
|
||||||
start func(*engine) error
|
start func(*engine) error
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// BuildVersion is the version of goctl.
|
// BuildVersion is the version of goctl.
|
||||||
const BuildVersion = "1.2.2"
|
const BuildVersion = "1.2.3"
|
||||||
|
|
||||||
// GetGoctlVersion returns BuildVersion
|
// GetGoctlVersion returns BuildVersion
|
||||||
func GetGoctlVersion() string {
|
func GetGoctlVersion() string {
|
||||||
|
|||||||
Reference in New Issue
Block a user