diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-12-21 13:11:08 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-12-21 15:33:02 +0100 |
commit | cd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb (patch) | |
tree | d766a7d88e59d20be9380aaf3d45b799737a288e /tpl/diagrams | |
parent | aa2c724195ae53e698dfaa7f9bea63e5cecea391 (diff) | |
download | hugo-cd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb.tar.gz hugo-cd1ed563a82f8a9ebdd3109230e34e74bf5ec6eb.zip |
tpl: Improve template funcs GoDoc
Diffstat (limited to 'tpl/diagrams')
-rw-r--r-- | tpl/diagrams/diagrams.go | 1 |
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 |