Exercises & activities from the go workshop provided by Packt: https://courses.packtpub.com/courses/go
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.

28 lines
417 B

  1. package main
  2. import (
  3. "fmt"
  4. "time"
  5. )
  6. func main() {
  7. var count int
  8. fmt.Printf("Count: %#v \n", count)
  9. var discount float64
  10. fmt.Printf("Discount: %#v \n", discount)
  11. var debug bool
  12. fmt.Printf("Debug: %#v \n", debug)
  13. var msg string
  14. fmt.Printf("Msg: %#v \n", msg)
  15. var emails []string
  16. fmt.Printf("eMails: %#v \n", emails)
  17. var startTime time.Time
  18. fmt.Printf("Start: %#v \n", startTime)
  19. }