Skip to content

Commit 066b8b7

Browse files
authored
Merge pull request #285 from bootjp/feature/fix-create-node
Remove Uint64ToInt64 function
2 parents 79ac717 + bc67564 commit 066b8b7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/convert.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ import (
88

99
var ErrIntOverflow = errors.New("int64 に変換できません(オーバーフロー)")
1010

11-
func Uint64ToInt64(u uint64) (int64, error) {
12-
if u > math.MaxInt64 {
13-
return 0, ErrIntOverflow
14-
}
15-
return int64(u), nil
16-
}
17-
1811
func Uint64ToInt(u uint64) (int, error) {
1912
if u > math.MaxInt64 {
2013
return 0, ErrIntOverflow

0 commit comments

Comments
 (0)