- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TypeParamList (0.05 seconds)
-
src/cmd/api/main_test.go
buf.WriteByte(' ') w.writeType(buf, res.At(0).Type()) default: buf.WriteByte(' ') w.writeParams(buf, res, false) } } func (w *Walker) writeTypeParams(buf *bytes.Buffer, tparams *types.TypeParamList, withConstraints bool) { buf.WriteByte('[') c := tparams.Len() for i := 0; i < c; i++ { if i > 0 { buf.WriteString(", ") } tp := tparams.At(i) w.writeType(buf, tp)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
doc/go_spec.html
in square brackets rather than parentheses [<a href="#Go_1.18">Go 1.18</a>]. </p> <pre class="ebnf"> TypeParameters = "[" TypeParamList [ "," ] "]" . TypeParamList = TypeParamDecl { "," TypeParamDecl } . TypeParamDecl = IdentifierList TypeConstraint . </pre> <p> All non-blank names in the list must be unique.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1)