Update user agent (#5)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #5
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
pull/8/head
jolheiser 9 months ago
parent 514c18ffa2
commit 499bb25f8f
No known key found for this signature in database
GPG Key ID: 454E7F878890995A
  1. 2
      config/reddit.go

@ -41,7 +41,7 @@ type SubReddit struct {
}
func (r *RedditConfig) UserAgent() string {
return fmt.Sprintf("%s/%s by /u/%s", r.AppName, r.Version, r.Username)
return fmt.Sprintf("go:%s:%s (by /u/%s)", r.AppName, r.Version, r.Username)
}
func (r *RedditConfig) SubRedditNames() []string {

Loading…
Cancel
Save