Skip to content

Commit 88498be

Browse files
authored
fix(go): modernize omitempty (#366)
1 parent 53db722 commit 88498be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/dotprompt/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ type PromptMetadata struct {
120120
// Model configuration. Not all models support all options.
121121
Config ModelConfig `json:"config,omitempty"`
122122
// Configuration for input variables.
123-
Input PromptMetadataInput `json:"input,omitempty"`
123+
Input PromptMetadataInput `json:"input"`
124124
// Defines the expected model output format.
125-
Output PromptMetadataOutput `json:"output,omitempty"`
125+
Output PromptMetadataOutput `json:"output"`
126126
// This field will contain the raw frontmatter as parsed with no additional
127127
// processing or substitutions. If your implementation requires custom
128128
// fields they will be available here.

0 commit comments

Comments
 (0)