(timeStr string)
| 619 | } |
| 620 | |
| 621 | func TwitterTimeParser(timeStr string) (time.Time, error) { |
| 622 | layout := "Mon Jan 02 15:04:05 -0700 2006" |
| 623 | return time.Parse(layout, timeStr) |
| 624 | } |
| 625 | |
| 626 | func XMLEncoder(data interface{}, oldHeaderName string, newHeaderName string) (*string, error) { |
| 627 | // Encode the data to XML |
nothing calls this directly
no outgoing calls
no test coverage detected