aboutsummaryrefslogtreecommitdiff
path: root/pkg/config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config')
-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()
-}
Lars Hjemli1-1/+1 2009-03-15Fix doc-related glitches in Makefile and .gitignoreLars Hjemli2-1/+6 2009-03-15ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli1-6/+17 2009-03-15fix segfault when displaying empty blobsEric Wong1-5/+8 2009-02-19Add support for HEAD requestsLars Hjemli2-0/+7 2009-02-19Add support for ETag in 'plain' viewLars Hjemli4-0/+5 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli1-4/+9 2009-02-12Makefile: add doc-related targetsLars Hjemli1-2/+17