Skip to content

Commit

Permalink
✨ Add comment string field to Section (#516)
Browse files Browse the repository at this point in the history
This was missing from the Assessment/Questionnaire sections and is
necessary to completely implement the enhancement.

Signed-off-by: Sam Lucidi <[email protected]>
  • Loading branch information
mansam authored Oct 11, 2023
1 parent 68c73a7 commit 3ba496f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assessment/section.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type Section struct {
Order uint `json:"order" yaml:"order" binding:"required"`
Name string `json:"name" yaml:"name"`
Questions []Question `json:"questions" yaml:"questions"`
Comment string `json:"comment,omitempty" yaml:"comment,omitempty"`
}

//
Expand Down

0 comments on commit 3ba496f

Please sign in to comment.