diff --git a/src/go/doc/reader.go b/src/go/doc/reader.go index c87d7d2037..7d71ca0d59 100644 --- a/src/go/doc/reader.go +++ b/src/go/doc/reader.go @@ -9,13 +9,14 @@ import ( "fmt" "go/ast" "go/token" - "internal/lazyregexp" "path" "slices" "strconv" "strings" "unicode" "unicode/utf8" + + "internal/lazyregexp" ) // ---------------------------------------------------------------------------- @@ -971,6 +972,9 @@ var predeclaredFuncs = map[string]bool{ "println": true, "real": true, "recover": true, + "clear": true, + "min": true, + "max": true, } var predeclaredConstants = map[string]bool{