From 800c167500a87957e1ae13516c037f81a10f8425 Mon Sep 17 00:00:00 2001 From: TJ Hoplock Date: Mon, 20 May 2024 14:35:58 -0400 Subject: [PATCH] fix: struct tag formatting --- helpers/yaml.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/yaml.go b/helpers/yaml.go index 848d96e..e409e2d 100644 --- a/helpers/yaml.go +++ b/helpers/yaml.go @@ -28,13 +28,13 @@ import ( ) type TemplateFile struct { - Tags []string `yaml: "tags"` + Tags []string `yaml:"tags"` Template struct { - Vars map[string]string `yaml: "vars"` + Vars map[string]string `yaml:"vars"` - Text string `yaml: "text"` - } `yaml: "template"` + Text string `yaml:"text"` + } `yaml:"template"` } func LoadTemplateFile(filename string) (TemplateFile, error) {