mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 13:29:11 +01:00
The kubernetes project has been updated to use Go 1.14.4. See below pull request. https://github.com/kubernetes/kubernetes/pull/88638 After making the updates to Go 1.14 "make gen" no longer worked. The file hack/tools.go had to be created to get "make gen" working with Go 1.14.
13 lines
247 B
Go
13 lines
247 B
Go
// +build jsoniter
|
|
|
|
package restful
|
|
|
|
import "github.com/json-iterator/go"
|
|
|
|
var (
|
|
json = jsoniter.ConfigCompatibleWithStandardLibrary
|
|
MarshalIndent = json.MarshalIndent
|
|
NewDecoder = json.NewDecoder
|
|
NewEncoder = json.NewEncoder
|
|
)
|