From 7d9d3351ab165b3d9f6af767a707c33fbca5eb70 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sun, 25 Sep 2022 10:32:07 -0400 Subject: Fixing deprecation annotation syntax Signed-off-by: Dave Henderson --- conv/conv.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conv') diff --git a/conv/conv.go b/conv/conv.go index d1f902e2..c61319f3 100644 --- a/conv/conv.go +++ b/conv/conv.go @@ -17,6 +17,7 @@ import ( // All other values are considered false. // // See ToBool also for a more flexible version. +// // Deprecated: use ToBool instead func Bool(in string) bool { if b, err := strconv.ParseBool(in); err == nil { @@ -67,6 +68,8 @@ func ToBools(in ...interface{}) []bool { } // Slice creates a slice from a bunch of arguments +// +// Deprecated: use [github.com/hairyhenderson/gomplate/v3/coll.Slice] instead func Slice(args ...interface{}) []interface{} { return args } -- cgit v1.2.3