diff --git a/Section4/aliases/main.go b/Section4/aliases/main.go new file mode 100644 index 0000000..9e1560f --- /dev/null +++ b/Section4/aliases/main.go @@ -0,0 +1,16 @@ +package main + +import "fmt" + +func main() { + var a uint8 = 10 + var b byte + + b = a + _ = b + + type second = uint + + var hour second = 3600 + fmt.Printf("Minutes in an hour: %d \n", hour/60) +}