Improved code documentation

This commit is contained in:
2019-09-10 09:49:51 +09:00
parent e774dccb08
commit 27753f6f9e
11 changed files with 28 additions and 24 deletions

View File

@ -6,7 +6,7 @@ import (
"math"
)
// HSLColor ...
// HSLColor represents a color in the HSL format.
type HSLColor struct {
Hue float64 `json:"hue"`
Saturation float64 `json:"saturation"`