From e13483ec3fe8395b7bde559e89e885e23e873e9f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 19 Feb 2022 11:21:53 -0500 Subject: feed/score.go: document Score() --- feed/score.go | 1 + 1 file changed, 1 insertion(+) (limited to 'feed') diff --git a/feed/score.go b/feed/score.go index 051522f..724e8f0 100644 --- a/feed/score.go +++ b/feed/score.go @@ -28,6 +28,7 @@ func (me *Score) UnmarshalJSON(b []byte) error { return nil } +// Convert to string. func (me Score) String() string { val := float64(me) / 10.0 return strconv.FormatFloat(val, 'f', 1, 64) -- cgit v1.2.3