Oct 26, 2020

[Go] using runtime.Caller(1) to report code exec location

 https://godoc.org/runtime#Caller

Useful for error logging.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.