(reason string)
| 389 | } |
| 390 | |
| 391 | func getActionType(reason string) string { |
| 392 | switch reason { |
| 393 | case "follow": |
| 394 | return "follow" |
| 395 | case "like": |
| 396 | return "favorite" |
| 397 | case "repost": |
| 398 | return "retweet" |
| 399 | case "mention": |
| 400 | return "mention" |
| 401 | case "quote": |
| 402 | return "mention" |
| 403 | case "reply": |
| 404 | return "reply" |
| 405 | default: |
| 406 | return reason |
| 407 | } |
| 408 | } |
no outgoing calls
no test coverage detected