MCPcopy Index your code
hub / github.com/mmcdole/gofeed / parseTextArrayExtension

Function parseTextArrayExtension

extensions/extensions.go:31–46  ·  view source on GitHub ↗
(name string, extensions map[string][]Extension)

Source from the content-addressed store, hash-verified

29}
30
31func parseTextArrayExtension(name string, extensions map[string][]Extension) (values []string) {
32 if extensions == nil {
33 return
34 }
35
36 matches, ok := extensions[name]
37 if !ok || len(matches) == 0 {
38 return
39 }
40
41 values = []string{}
42 for _, m := range matches {
43 values = append(values, m.Value)
44 }
45 return
46}

Callers 1

NewDublinCoreExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…