CI: Use ./... instead of listing all packages

This commit is contained in:
nemunaire 2023-07-14 17:54:39 +02:00
commit 5dd92a6603
4 changed files with 16 additions and 64 deletions

View file

@ -291,7 +291,11 @@ func createTeam(c *gin.Context) {
}
if ut.Color == 0 {
ut.Color = fic.HSL{rand.Float64(), 1, 0.5}.ToRGB()
ut.Color = fic.HSL{
H: rand.Float64(),
S: 1,
L: 0.5,
}.ToRGB()
}
team, err := fic.CreateTeam(strings.TrimSpace(ut.Name), ut.Color, ut.ExternalId)