fix(optimal-types): int64 to uint32
This commit is contained in:
committed by
Inanc Gumus
parent
69935439be
commit
804d96cfd2
@ -29,7 +29,7 @@ func main() {
|
|||||||
fmt.Println("a month in 2 digits: 1 to 12:", month)
|
fmt.Println("a month in 2 digits: 1 to 12:", month)
|
||||||
|
|
||||||
// the speed of the light
|
// the speed of the light
|
||||||
var lightSpeed int64 = 670616629 // miles
|
var lightSpeed uint32 = 670616629 // miles
|
||||||
fmt.Println("the speed of the light:", lightSpeed)
|
fmt.Println("the speed of the light:", lightSpeed)
|
||||||
|
|
||||||
// angle of a circle
|
// angle of a circle
|
||||||
|
Reference in New Issue
Block a user