templates

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

load templates from templates.json file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllGroups

type AllGroups struct {
	Groups []Group `json:"groups"`
}

func GetGroups

func GetGroups() (AllGroups, error)

GetGroups returns the templates

type Group

type Group struct {
	Name        string     `json:"name"`
	Description string     `json:"description"`
	Templates   []Template `json:"templates"`
}

type Template

type Template struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	URL         string `json:"url"`
}

Jump to

Keyboard shortcuts

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