Hacker News new | ask | show | jobs
by mseepgood 2517 days ago
It's not more parentheses than in a method definition:

    func (a A) Foo(x int) (n int, err error) { … }
Also your line isn't formatted properly. It should be:

    func Foo(type T)(t T) (t T, err error) { … }