(entries []string)
| 515 | } |
| 516 | |
| 517 | func (t *DefaultRSSTranslator) firstEntry(entries []string) (value string) { |
| 518 | if entries == nil { |
| 519 | return |
| 520 | } |
| 521 | |
| 522 | if len(entries) == 0 { |
| 523 | return |
| 524 | } |
| 525 | |
| 526 | return entries[0] |
| 527 | } |
| 528 | |
| 529 | // DefaultAtomTranslator converts an atom.Feed struct |
| 530 | // into the generic Feed struct. |
no outgoing calls
no test coverage detected