|
|
|
|
|
by NateDad
3563 days ago
|
|
Not quite sure why this isn't just 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. |
|