Skip to content

Commit

Permalink
fix: make TemplateConfig fields public to avoid "cannot access privat…
Browse files Browse the repository at this point in the history
…e field" error
  • Loading branch information
gechandesu committed Jun 16, 2024
1 parent cd88348 commit 6daed72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/template.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub:
// TemplateConfig is the configuration struct for a template.
@[params]
pub struct TemplateConfig {
pub:
input string @[required]
partials map[string]string = {}
}
Expand Down

0 comments on commit 6daed72

Please sign in to comment.