diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/options/option.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/options/option.go b/internal/options/option.go index d714ad2..b8b838a 100644 --- a/internal/options/option.go +++ b/internal/options/option.go @@ -47,9 +47,14 @@ func (html *HTML) UnmarshalJSON(raw []byte) error { return nil } +type Link struct { + Name string + URL string `json:"url"` +} + type NixOption struct { Option string - Declarations []string + Declarations []Link Default NixValue Description HTML Example NixValue |