The highest tagged major version is
v2.
package
Version:
v1.20.0
Opens a new window with list of versions in this module.
Published: Nov 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package templates contains data-driven templates for path layouts.
Templates can use functions from the github.com/Masterminds/sprig library.
All templates are cleaned with path.Clean().
WithUser generates a layout based on user data.
EmailData contains mail data
split into local and domain part.
It is extracted from splitting the username by @.
UserData contains the template placeholders for a user.
For example {{.Username}} or {{.Id.Idp}}.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.