Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed May 29, 2024
1 parent fc5f82f commit 0839ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/platform/random/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

var letterRunes = []rune("abcdefghijklmnopqrstuvwxyz")

// RandomString creates a new random string with the given length
func RandomString(length int) string {
// String creates a new random string with the given length
func String(length int) string {
b := make([]rune, length)
for i := range b {
b[i] = letterRunes[rand.Intn(len(letterRunes))]
Expand Down

0 comments on commit 0839ea7

Please sign in to comment.