diff options
Diffstat (limited to 'vendor/codeberg.org/gruf/go-format/util.go')
-rw-r--r-- | vendor/codeberg.org/gruf/go-format/util.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/codeberg.org/gruf/go-format/util.go b/vendor/codeberg.org/gruf/go-format/util.go deleted file mode 100644 index 68a9e2de3..000000000 --- a/vendor/codeberg.org/gruf/go-format/util.go +++ /dev/null @@ -1,13 +0,0 @@ -package format - -import "strconv" - -// can32bitInt returns whether it's possible for 's' to contain an int on 32bit platforms. -func can32bitInt(s string) bool { - return strconv.IntSize == 32 && (0 < len(s) && len(s) < 10) -} - -// can64bitInt returns whether it's possible for 's' to contain an int on 64bit platforms. -func can64bitInt(s string) bool { - return strconv.IntSize == 64 && (0 < len(s) && len(s) < 19) -} |