Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "log"
- "strconv"
- )
- func main() {
- n, err := strconv.Atoi("hello")
- if err != nil {
- log.Fatal(err)
- }
- fmt.Println(n)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement