aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/feed.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/feed.go')
-rw-r--r--pkg/config/feed.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/pkg/config/feed.go b/pkg/config/feed.go
index 03494d3..4641cbc 100644
--- a/pkg/config/feed.go
+++ b/pkg/config/feed.go
@@ -1,10 +1,5 @@
package config
-import (
- "fmt"
- "strings"
-)
-
// One stored feed
type Feed struct {
Name string
@@ -15,24 +10,3 @@ type Feed struct {
// Convenience type for all feeds
type Feeds map[string]Feed
-
-func (feeds Feeds) String() string {
- var b strings.Builder
- app := func(a ...interface{}) {
- _, _ = fmt.Fprint(&b, a...)
- }
- app("Feeds [")
-
- first := true
- for k, v := range feeds {
- if !first {
- app(", ")
- }
- app(`"`, k, `"`, ": ")
- _, _ = fmt.Fprintf(&b, "%+v", v)
- first = false
- }
- app("]")
-
- return b.String()
-}