[net] webdav/internal/xml: use the built-in min function

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Sep 30, 2025, 3:19:03 PM (yesterday) Sep 30
to shuang cui, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Junyang Shao, Carlos Amedee, Damien Neil, Ian Lance Taylor, Go LUCI, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
webdav/internal/xml: use the built-in min function

Starting from Go 1.21, the min functions are built-in.

Therefore, we can remove the custom functions with the same name.
Change-Id: Ia13e609358e19cf3863edc0f5a34e737cdcc291f
Reviewed-by: Carlos Amedee <car...@golang.org>
Reviewed-by: Junyang Shao <shaoj...@google.com>
Reviewed-by: Sean Liao <se...@liao.dev>
Auto-Submit: Sean Liao <se...@liao.dev>
Files:
  • M webdav/internal/xml/typeinfo.go
Change size: XS
Delta: 1 file changed, 0 insertions(+), 7 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Sean Liao, +1 by Carlos Amedee, +1 by Junyang Shao
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: net
Gerrit-Branch: master
Gerrit-Change-Id: Ia13e609358e19cf3863edc0f5a34e737cdcc291f
Gerrit-Change-Number: 707555
Gerrit-PatchSet: 2
Gerrit-Owner: shuang cui <imc...@gmail.com>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Junyang Shao <shaoj...@google.com>
Gerrit-Reviewer: Sean Liao <se...@liao.dev>
Gerrit-Reviewer: shuang cui <imc...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages