(s string)
| 80 | } |
| 81 | |
| 82 | func intFromLastPathSegment(s string) int { |
| 83 | seg := strings.Split(s, "/") |
| 84 | if len(seg) > 0 { |
| 85 | i, _ := strconv.Atoi(seg[len(seg)-1]) |
| 86 | return i |
| 87 | } |
| 88 | return 0 |
| 89 | } |
| 90 | |
| 91 | // OAuthAppReviewState indicates the current state of a requested OAuth Application. |
| 92 | type OAuthAppReviewState int |
no outgoing calls
no test coverage detected
searching dependent graphs…