Sign in
◑
Theme
go
/
website
/
9bbbb24e952abe366377d5bc6f23e1cc024667ff
/
.
/
_content
/
tour
/
generics
/
list.go
blob: 6c6b4cd6405df0bc3a2f5ac0bfc9fe8f6cd716c1 [
file
]
//go:build OMIT
package main
// List represents a singly-linked list that holds
// values of any type.
type List[T any] struct {
next *List[T]
val T
}
func main() {
}