func (t *fishTank) fishCount() string { return fmt.Sprintf("How many fishies? %d!", (*container[fish])(t).size()) }
type fishTank container[fish]
An alternative is to just alias:
type fishTank = container[fish]
T(v)
*(T(v))
(*T)(v)
An alternative is to just alias:
however in that case you can't define methods on fishTank, because it's literally just a shorthand for container[fish].