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

A constraint is defined as an interface with both a method and a type union. What does that mean for satisfying types?

type Stringy interface { ~string String() string }