From 1d587cd3fc8a57dbe4b2753f2acda7ef65334b59 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Sun, 19 Dec 2010 15:22:40 +0000 Subject: [PATCH] Helps if you add the damn element to the struct... --- client/connection.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/connection.go b/client/connection.go index 745a06e..4f874d4 100644 --- a/client/connection.go +++ b/client/connection.go @@ -44,7 +44,9 @@ type Conn struct { Flood bool // Function which returns a *time.Time for use as a timestamp + // Format for *time.Time when outputting timestamps Timestamp func() *time.Time + Format string // Enable debugging? Set format for timestamps on debug output. Debug bool