slog icon indicating copy to clipboard operation
slog copied to clipboard

Add slog.Type to print type of something

Open nhooyr opened this issue 6 years ago • 1 comments

Very useful in debugging.

nhooyr avatar Feb 06 '20 04:02 nhooyr

so it'd be: slog.Type(v interface{}) -> slog.F("type", fmt.Sprintf("%T", v))

nhooyr avatar Feb 06 '20 04:02 nhooyr