add functionality
This commit is contained in:
1 parent
11cee3336d
commit
b87ac1bb0e
5 files changed
+992
No files matched your search
+16
@@ -1 +1,17 @@
|
||||
package go_cbox_scraper
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
type CBoxMessage 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(time.Stamp), m.Username, m.Message)
|
||||
}
|
||||
Reference in new issue
Block a user