News for hackers. Stuff that matters.
Re:Tagged Logging in Go by kornish on Thursday February 12, 2015 @02:56PM (#9040987)
For the record, if the last argument of a Golang function is variadic, you can still pass an array to it - you just have to transform the array into variadic args by appending `...` to it. So adopting the type signature above could give you the best of both worlds - the ability to use one-off tag combinations inline, but also the ability to pass predefined arrays of tags.

There are no comments on this comment yet.