fix typo in util.ReadIntFromFile
Signed-off-by: binjip978 <binjip978@gmail.com>
binjip978 authored 4 years ago
Johannes 'fish' Ziemke committed 3 years ago
73 | 73 | } |
74 | 74 | |
75 | 75 | // ReadIntFromFile reads a file and attempts to parse a int64 from it. |
76 | func ReadIntFromFromFile(path string) (int64, error) { | |
76 | func ReadIntFromFile(path string) (int64, error) { | |
77 | 77 | data, err := ioutil.ReadFile(path) |
78 | 78 | if err != nil { |
79 | 79 | return 0, err |