Commit 6fab40d4
6fab40d47f22Merged
Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 2 files ยท ~2 modified
Description
remove helper.TrimFirstRune
Details
- Commit
- 6fab40d47f22
- Parent
- a34c8c775937
pkg/helper/func.gomodifiedView file
@@ -4,17 +4,11 @@
44
"os"55
"path/filepath"66
"sort"7-
"unicode/utf8"87
)98
109
func Contains(t string, a []string) bool {1110
i := sort.SearchStrings(a, t)1211
return i < len(a) && a[i] == t13-
}14-
15-
func TrimFirstRune(s string) string {16-
_, i := utf8.DecodeRuneInString(s)17-
return s[i:]1812
}1913
2014
func CreateFile(p string) (*os.File, error) {pkg/release/func.gomodifiedView file
Loading diffโฆ