Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created October 1, 2019 16:44
Show Gist options
  • Select an option

  • Save 100daysofdevops/09d4dca1adaffd3c7a39af9b945f9782 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/09d4dca1adaffd3c7a39af9b945f9782 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var x, y , z = 5, 10.0, "abc"
fmt.Println(x)
fmt.Println(y)
fmt.Println(z)
fmt.Printf("%T %T %T\n",x, y, z)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment