Skip to content

Commit

Permalink
Save version license field comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Jan 5, 2022
1 parent b417c61 commit 9c0fd2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/schema/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import "errors"
type Version struct {
Name string `json:"name"`
Link string `json:"link,omitempty"`
// License string `json:"license,omitempty"`
// or nested (name, url)
}

func (v *Version) Validate() error {
Expand Down

0 comments on commit 9c0fd2f

Please sign in to comment.