re: Go's method is curried funtion VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I never saw Go people use Foo.doSomething(123) ... Can you point to some open source projects doing this?
 

Yes, most of cases, the function will not be called directly. As I wrote in above, it is often used as function object. See os/exec.go in Go repository.

runtime.SetFinalizer(p, (*Process).Release)
code of conduct - report abuse