Skip to content

Commit

Permalink
Merge pull request #2 from JanStanleyWatt:refactoring
Browse files Browse the repository at this point in the history
refactor: Remove unused casts
  • Loading branch information
JanStanleyWatt authored Jun 9, 2024
2 parents 1b36aa0 + 85af174 commit 316da7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ func main() {
}

// Create a new random number generator
r := rand.New(rand.NewSource(int64(input.Seed)))
r := rand.New(rand.NewSource(input.Seed))

// Create a new Output struct
output := Output{
RandomNumber: r.Int63n(int64(input.Max)),
RandomNumber: r.Int63n(input.Max),
}

// Create json
Expand Down

0 comments on commit 316da7b

Please sign in to comment.