Skip to content

Commit

Permalink
fix: struct tag formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed May 20, 2024
1 parent d6bba95 commit 800c167
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helpers/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 800c167

Please sign in to comment.