templates

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Using embed will allow us to directly embed the contents of the issue.tmpl template file into a variable (issueTemplate). When the program is compiled, go can read the contents of the file. This process is exactly what we need to publish git issues from any directory in the file system. Additionally, the template file is small (4KB) and we only expect to have the 1 file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadIssueTemplate

func LoadIssueTemplate() (*template.Template, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL