interface{} can take any kind of value,,, as u specified above, it can take file descriptor and pointer.
for more , i think this will help. https://golang.org/doc/effective_go#interfaces On Tuesday, 25 May 2021 at 07:14:24 UTC-3 Delta Echo wrote: > > It's a parameter name. ...interface{} is the type of that argument, > variadic in this case indicated by the ellipsis. > > You misunderstood my question. > > My question was what does `a` refers to? > > Like, > fd - file descriptor > ptr - pointer > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/313b8f6a-7890-44bd-a0f6-213bab5ee85bn%40googlegroups.com.