From 804d96cfd28a772393b9065151c629ef3f91349e Mon Sep 17 00:00:00 2001 From: Simon Schulte Date: Tue, 16 Jun 2020 09:19:43 +0200 Subject: [PATCH] fix(optimal-types): int64 to uint32 --- 09-go-type-system/exercises/01-optimal-types/solution/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/09-go-type-system/exercises/01-optimal-types/solution/main.go b/09-go-type-system/exercises/01-optimal-types/solution/main.go index b0cd1cc..21668c7 100644 --- a/09-go-type-system/exercises/01-optimal-types/solution/main.go +++ b/09-go-type-system/exercises/01-optimal-types/solution/main.go @@ -29,7 +29,7 @@ func main() { fmt.Println("a month in 2 digits: 1 to 12:", month) // the speed of the light - var lightSpeed int64 = 670616629 // miles + var lightSpeed uint32 = 670616629 // miles fmt.Println("the speed of the light:", lightSpeed) // angle of a circle