type foo int:
func MethodA():
pass
Analagous to this: type foo int
func (foo) MethodA(){}
Why opening and all that? Or is that a way to add methods to types outside the current package? If so, you're opening up a whole new can of worms.