Files
gitea-release-resource/strings.go
Chris Brown efbfb91683 implement /in
fetches a given list of globs from the assets.

also be durable to 'v' prefixing version tags

Signed-off-by: Alex Suraci <asuraci@pivotal.io>
2015-02-17 18:03:42 -08:00

14 lines
165 B
Go

package resource
import "unicode"
func dropLeadingAlpha(s string) string {
for i, r := range s {
if !unicode.IsLetter(r) {
return s[i:]
}
}
return ""
}