Skip to content

Commit

Permalink
add override headline to playMetadata type (#160)
Browse files Browse the repository at this point in the history
Co-authored-by: anatoly256 <[email protected]>
  • Loading branch information
jrkhan and anatoly256 authored Aug 31, 2022
1 parent 58500d3 commit 420fad7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/go/templates/data/play_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type PlayMetadata struct {
PlayerAutographType string `json:",omitempty"`
PlayerAutographDate string `json:",omitempty"`
PlayerAutographSigner string `json:",omitempty"`
OverrideHeadline string `json:",omitempty"`
}

// GenerateEmptyPlay generates a play with all its fields
Expand Down Expand Up @@ -62,5 +63,6 @@ func GenerateEmptyPlay(fullName string) PlayMetadata {
PlayerAutographType: "",
PlayerAutographDate: "",
PlayerAutographSigner: "",
OverrideHeadline: "",
}
}

0 comments on commit 420fad7

Please sign in to comment.