diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-17 10:30:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-17 10:30:10 +0100 |
commit | b84745d497301693ea13ff962434a2e074c75762 (patch) | |
tree | dcf8bfaeb80983cee750044ed4185bac3a21a3eb | |
parent | 44954497bcb2d6d589b9340a43323663061c7b42 (diff) |
tpl/resources: Add empty method mapping for GetRemote
To get auto generated documentation for it.
-rw-r--r-- | tpl/resources/init.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tpl/resources/init.go b/tpl/resources/init.go index 8bebec40d..4c8dff7bc 100644 --- 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, |