generics for Go, subclasses with a common base class can be passed to the same generic function that can call methods on the instances and return a value. only the first variable in a generic function may be a subclass instance.
in the function def the shared base class is given by name: `def g( a:MyBaseClass ):`