type elementとtype term
Declare a type constraint
型制約をインタフェースとして宣言できる
これをtype elementと呼ぶ
code:type-element.go
type Number interface {
int64 | float64 // ←がtype term(type elementの構成要素)
}
https://go.dev/doc/tutorial/generics#declare_type_constraint