- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for zeroValue (0.14 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
if offset >= len(src) { return end } if width := bytes.IndexAny(src[offset:], " \n,():;[]+-*"); width > 0 { end = start + token.Pos(width) } return end } func ZeroValue(f *ast.File, pkg *types.Package, typ types.Type) ast.Expr { // TODO(adonovan): think about generics, and also generic aliases. under := aliases.Unalias(typ) // Don't call Underlying unconditionally: although it removes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0)