Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created October 2, 2019 06:23
Show Gist options
  • Select an option

  • Save 100daysofdevops/7dee7be4f3d5ba708be1a839f653780f to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/7dee7be4f3d5ba708be1a839f653780f to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var x int = 5
fmt.Printf("%T %v\n",x,x)
var y float64 = 5.2
fmt.Printf("%T %v\n",y,y)
var z string = "hello"
fmt.Printf("%T %v\n",z,z)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment