Skip to content

Instantly share code, notes, and snippets.

@hectorgool
Created July 13, 2017 14:13
Show Gist options
  • Select an option

  • Save hectorgool/73a9312e27ce1da6990e722e09107b6b to your computer and use it in GitHub Desktop.

Select an option

Save hectorgool/73a9312e27ce1da6990e722e09107b6b to your computer and use it in GitHub Desktop.
/*
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