aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/diagrams
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-12-21 13:11:08 +0100
committerBjørn Erik Pedersen <[email protected]>2022-12-21 15:33:02 +0100
commitcd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb (patch)
treed766a7d88e59d20be9380aaf3d45b799737a288e /tpl/diagrams
parentaa2c724195ae53e698dfaa7f9bea63e5cecea391 (diff)
downloadhugo-cd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb.tar.gz
hugo-cd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb.zip
tpl: Improve template funcs GoDoc
Diffstat (limited to 'tpl/diagrams')
-rw-r--r--tpl/diagrams/diagrams.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/diagrams/diagrams.go b/tpl/diagrams/diagrams.go
index 9abe9e24c..d5d19b08b 100644
--- a/tpl/diagrams/diagrams.go
+++ b/tpl/diagrams/diagrams.go
@@ -64,6 +64,7 @@ type Namespace struct {
d *deps.Deps
}
+// Goat creates a new SVG diagram from input v.
func (d *Namespace) Goat(v any) SVGDiagram {
var r io.Reader