Created
October 11, 2019 16:16
-
-
Save parvezmrobin/e1076c0f6a962ecf60270d4431fa2c3b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
func main() { | |
i := 5 | |
var j float32 = i // cannot use i (type int) as type float32 in assignment | |
println(j) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment