Archived
1
0
This commit is contained in:
Jeff Becker
2017-10-24 08:51:21 -04:00
parent 3b83f184ea
commit 09504ca363
13 changed files with 401 additions and 14 deletions

View File

@@ -37,6 +37,13 @@ func (self ArticleHeaders) Add(key, val string) {
}
}
func (self ArticleHeaders) Len() (l int) {
for k := range self {
l += len(self[k])
}
return
}
func (self ArticleHeaders) Get(key, fallback string) string {
val, ok := self[key]
if ok {