Created
July 13, 2017 14:13
-
-
Save hectorgool/73a9312e27ce1da6990e722e09107b6b 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
| /* | |
| Héctor G.O. | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| var mensaje string = "hola" | |
| func main() { | |
| nombre := "Santo" | |
| edad := 33 | |
| version := 1.1 | |
| aprobado := true | |
| fmt.Printf("El valor de nombre es: %v, y su tipo es: %T \n", nombre, nombre) | |
| fmt.Printf("El valor de edad es: %v, y su tipo es: %T \n", edad, edad) | |
| fmt.Printf("El valor de version es %v, y su tipo es: %T \n", version, version) | |
| fmt.Printf("El valor de aprobado es:%v, y su tipo es: %T \n", aprobado, aprobado) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment