From 6fb11709cd9330f1179295518f1bdf516a0f3464 Mon Sep 17 00:00:00 2001 From: Gadzev Date: Tue, 17 Dec 2019 23:21:47 +0100 Subject: [PATCH] Fixed typo in function documentation --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index cec456c..3e7750d 100644 --- a/service.go +++ b/service.go @@ -223,7 +223,7 @@ func (kv KeyValue) float64(name string, defaultValue float64) float64 { return defaultValue } -// funcSingle returns the value of the given name, assuming the value is a float64. +// funcSingle returns the value of the given name, assuming the value is a func(). // If the value isn't found or is not of the type, the defaultValue is returned. func (kv KeyValue) funcSingle(name string, defaultValue func()) func() { if v, found := kv[name]; found {