v1.16.1
FIXED: * *Some* documentation weirdness on pkg.go dev rendering. It still uses the Markdown render by default, and it seems if you use anchor links in a bulletpoint list, pandoc just says "lol screw you"... ADDED: * tplx/sprigx tpl function `osHostname`
This commit is contained in:
13
tplx/sprigx/funcs_tpl_os.go
Normal file
13
tplx/sprigx/funcs_tpl_os.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package sprigx
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// osHostname returns os.Hostname()
|
||||
func osHostname() (out string, err error) {
|
||||
|
||||
out, err = os.Hostname()
|
||||
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user