Un cours pour se lancer dans la programmation avec le langage Go (golang).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.go 324 B

1 year ago
123456789101112131415161718192021222324
  1. package main
  2. import "fmt"
  3. var a = 10
  4. var b int8 = 122
  5. var c, d = 100, 200
  6. const PI = 100
  7. func main() {
  8. var a = 10
  9. var b = 1.5
  10. var c byte = 'c'
  11. var d = true
  12. var e = '😀'
  13. var f = "hello"
  14. var g = 1 + 3i
  15. var _1åœπbool = 10
  16. fmt.Printf("%T\t%T\t%T\t%T\t%T\t%T\t%T\t%T\n", a, b, c, d, e, f, g, _1åœπbool)
  17. }