// variable of float type var floatValue float = 9.8 // convert float to int var intValue int = int(floatValue)
package main import ( "fmt" ) func main() { Name := []byte("John Doe") fmt.Println("My name is", string(Name)) }