Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGotype constraints and comparableSingle-choice MCQ

Given this constraint, which type argument is rejected by the compiler?

type MyID int type Integer interface { int | int64 } func f[T Integer](v T) {}