Skip to content

Instantly share code, notes, and snippets.

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

  • Save 100daysofdevops/72c09016f3f377f4d09473f01c691d1a to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/72c09016f3f377f4d09473f01c691d1a to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var i int = 5
fmt.Printf("%v %T\n", i, i)
var j float32
j = float32(i)
fmt.Printf("%v %T\n", j, j)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment