summaryrefslogtreecommitdiff
path: root/funcs/path.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-09-25 10:32:07 -0400
committerDave Henderson <dhenderson@gmail.com>2022-09-25 10:56:26 -0400
commit7d9d3351ab165b3d9f6af767a707c33fbca5eb70 (patch)
tree400e0be0ca6d9e2308a3fc7cbf2cf1de0cd4aee3 /funcs/path.go
parent64a0269c2672c2d1a6984832cfd0a6ac1c0e725b (diff)
Fixing deprecation annotation syntax
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'funcs/path.go')
-rw-r--r--funcs/path.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/funcs/path.go b/funcs/path.go
index 556eb7e6..871e27a3 100644
--- a/funcs/path.go
+++ b/funcs/path.go
@@ -8,13 +8,15 @@ import (
)
// PathNS - the Path namespace
+//
// Deprecated: don't use
func PathNS() *PathFuncs {
return &PathFuncs{}
}
// AddPathFuncs -
-// Deprecated: use CreatePathFuncs instead
+//
+// Deprecated: use [CreatePathFuncs] instead
func AddPathFuncs(f map[string]interface{}) {
for k, v := range CreatePathFuncs(context.Background()) {
f[k] = v