add output to console Close #14

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-08-01 19:34:50 +08:00
parent 4869454a78
commit 2c0eca9d40
5 changed files with 57 additions and 26 deletions
+24
View File
@@ -145,3 +145,27 @@ func writeToCsv(filename string, data interface{}) error {
}
return nil
}
func (b *bookmarks) outPutConsole() {
for _, v := range b.bookmarks {
fmt.Printf("%+v\n", v)
}
}
func (c *cookies) outPutConsole() {
for host, value := range c.cookies {
fmt.Printf("%s\n%+v\n", host, value)
}
}
func (h *historyData) outPutConsole() {
for _, v := range h.history {
fmt.Printf("%+v\n", v)
}
}
func (p *passwords) outPutConsole() {
for _, v := range p.logins {
fmt.Printf("%+v\n", v)
}
}