butone
This commit is contained in:
parent
189ebfcd6b
commit
6514cd5b6f
|
@ -38,7 +38,7 @@ func main() {
|
|||
"blogposts",
|
||||
"reddit_comments",
|
||||
"reddit_posts",
|
||||
"twitter",
|
||||
"tweets",
|
||||
}
|
||||
|
||||
var result error
|
||||
|
|
|
@ -22,6 +22,7 @@ func (p Post) Format() string {
|
|||
fmt.Fprintf(&sb, "New post %s: %s\n\n", p.Title, p.URL)
|
||||
|
||||
for _, tg := range p.Tags {
|
||||
tg = strings.ReplaceAll(tg, "-", "")
|
||||
fmt.Fprintf(&sb, "#%s ", tg)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue