consider this code, the function Init is not recognized
There is no way to simplify type definition like in other language (c++)
type List[T any] struct {
next *List[T]
val T
}
func (o *List[T]) Init(a int){
fmt.Printf(" %+v %v",*o,a)
}
type list8 List[uint8]
func main() {
var a list8
a.val = 12
a.Init(17)
}