remove unnecessary CBox prefix
rewrite sraper/dumper examples load should not nake a new file simply the NewScraper() funciton
This commit is contained in:
6 files changed
+80
-60
No files matched your search
+3
-3
@@ -5,13 +5,13 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type CBoxMessage struct {
|
||||
type Message struct {
|
||||
MessageID int
|
||||
DateTime time.Time
|
||||
Username string
|
||||
Message string
|
||||
}
|
||||
|
||||
func (m *CBoxMessage) String() string {
|
||||
return fmt.Sprintf("#%d [%s] <%s> %s", m.MessageID, m.DateTime.Format(CboxDatetimeFormat), m.Username, m.Message)
|
||||
func (m *Message) String() string {
|
||||
return fmt.Sprintf("#%d [%s] <%s> %s", m.MessageID, m.DateTime.Format(DatetimeFormat), m.Username, m.Message)
|
||||
}
|
||||
Reference in new issue
Block a user