- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for Definition (0.05 seconds)
-
doc/go_spec.html
} </pre> <p> If the type definition specifies <a href="#Type_parameter_declarations">type parameters</a>, the type name denotes a <i>generic type</i>. Generic types must be <a href="#Instantiations">instantiated</a> when they are used. </p> <pre> type List[T any] struct { next *List[T] value T } </pre> <p> In a type definition the given type cannot be a type parameter.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1)