commit b84745d497301693ea13ff962434a2e074c75762
parent 44954497bcb2d6d589b9340a43323663061c7b42
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Fri, 17 Dec 2021 10:30:10 +0100
tpl/resources: Add empty method mapping for GetRemote
To get auto generated documentation for it.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/tpl/resources/init.go b/tpl/resources/init.go
@@ -38,6 +38,11 @@ func init() {
[][2]string{},
)
+ ns.AddMethodMapping(ctx.GetRemote,
+ nil,
+ [][2]string{},
+ )
+
// Add aliases for the most common transformations.
ns.AddMethodMapping(ctx.Fingerprint,