CI: Use ./... instead of listing all packages
This commit is contained in:
parent
6d450d3667
commit
5dd92a6603
4 changed files with 16 additions and 64 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue