Skip to content

Commit

Permalink
Changed DistanceUnit type to int
Browse files Browse the repository at this point in the history
  • Loading branch information
norbs57 committed Apr 30, 2022
1 parent bdb30da commit 6563c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concepts/stringers/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Assume we are working on an application that deals with geographical distances m
We have defined types `DistanceUnit` and `Distance` as follows:

```go
type DistanceUnit string
type DistanceUnit int

const (
Kilometer DistanceUnit = 0
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/meteorology/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Assume we are working on an application that deals with geographical distances m
We have defined types `DistanceUnit` and `Distance` as follows:

```go
type DistanceUnit string
type DistanceUnit int

const (
Kilometer DistanceUnit = 0
Expand Down

0 comments on commit 6563c48

Please sign in to comment.