Fix TOML tags

Signed-off-by: jolheiser <john.olheiser@gmail.com>
pull/7/head
jolheiser 2020-11-16 23:57:46 -06:00
parent aee847f018
commit c01d965ad7
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ import (
// Registry is a collection of Template
type Registry struct {
dir string
Sources []*Source
Templates []*Template
Sources []*Source `toml:"sources"`
Templates []*Template `toml:"templates"`
}
func (r *Registry) save() error {