Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3bfd4d6

Browse files
committed
Add more randomness to names
1 parent298ca3e commit3bfd4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/database/databasefake/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func populate[DBType any](ctx context.Context, g *Generator, name string, seed D
7474

7575
func (g*Generator)RandomName()string {
7676
for {
77-
name:=namesgenerator.GetRandomName(0)
77+
name:=namesgenerator.GetRandomName(1)
7878
if_,ok:=g.names[name];!ok {
7979
returnname
8080
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp