My first step to Go

helloWorld

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import "fmt"

func main() {
i := 65
fmt.Println(string(i))
fmt.Println("helloWorld")
fmt.Println(sumAndSub(10, 15))
}

func sumAndSub(a, b int) (int, int) {

k := float64(45)
k++
return a + b, a - b
}