Skip to content

Instantly share code, notes, and snippets.


parzibyte/utils.go Secret

Created Oct 12, 2020
What would you like to do?
package main
import "strconv"
func stringToInt64(s string) (int64, error) {
numero, err := strconv.ParseInt(s, 0, 64)
if err != nil {
return 0, err
return numero, err
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment