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 // Registry is a collection of Template
type Registry struct { type Registry struct {
dir string dir string
Sources []*Source Sources []*Source `toml:"sources"`
Templates []*Template Templates []*Template `toml:"templates"`
} }
func (r *Registry) save() error { func (r *Registry) save() error {