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
master
Kevin Wan 3 years ago committed by GitHub
parent ba43214dae
commit 7e3fe77e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {

Loading…
Cancel
Save