add module file, add gob dump example, update the default datetime format
This commit is contained in:
6 files changed
+52
-5
No files matched your search
+1
-1
@@ -13,5 +13,5 @@ type CBoxMessage struct {
|
||||
}
|
||||
|
||||
func (m *CBoxMessage) String() string {
|
||||
return fmt.Sprintf("%d - %s - %s - %s", m.MessageID, m.DateTime.Format(time.Stamp), m.Username, m.Message)
|
||||
return fmt.Sprintf("#%d [%s] <%s> %s", m.MessageID, m.DateTime.Format(CboxDatetimeFormat), m.Username, m.Message)
|
||||
}
|
||||
Reference in new issue
Block a user