diff options
| author | apocelipes <seve3r@outlook.com> | 2023-07-31 19:40:37 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-01 14:29:09 +0000 |
| commit | 29253f4d513f1d3fe549db39a8daa311492138b3 (patch) | |
| tree | af44aaf7e4be3ce726708f76cfa481d45891f5e6 /src/encoding/json/encode.go | |
| parent | 840ec052f6b550859f48fff28559bf18e5ca4b22 (diff) | |
| download | go-29253f4d513f1d3fe549db39a8daa311492138b3.tar.xz | |
os/exec: Use the built-in function min instead of minInt
The built-in function `min` has been implemented and can now be used to replace some manually written `minType` helper functions.
Change-Id: Ie8ffc7881c8652ece752751214f1242bf76a6e7e
GitHub-Last-Rev: 5db344f13142c78f437571e3a1cdc0b02c0589cb
GitHub-Pull-Request: golang/go#60866
Reviewed-on: https://go-review.googlesource.com/c/go/+/504315
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
