package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

CouldBe indicates a file with the filename could be a template, it is a low cost check before further processing.
RenderToMarkdown renders template to markdown with specified values.
Unmarshal parses out a valid template from the content.
UnmarshalFromCommit parses out a valid template from the commit.
UnmarshalFromEntry parses out a valid template from the blob in entry.
UnmarshalFromRepo parses out a valid template from the head commit of the branch.
Validate checks whether an IssueTemplate is considered valid, and returns the first error.