diff options
Diffstat (limited to 'internal/options/option.go')
-rw-r--r-- | internal/options/option.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/internal/options/option.go b/internal/options/option.go deleted file mode 100644 index a93b4e2..0000000 --- a/internal/options/option.go +++ /dev/null @@ -1,30 +0,0 @@ -package options - -type Markdown string - -type NixValue struct { - Text string `json:",omitempty"` - Markdown Markdown `json:",omitempty"` -} - -type Link struct { - Name string - URL string -} - -type NixOption struct { - Name string - Source string - - Declarations []Link - Default *NixValue `json:",omitempty"` - Description Markdown - Example *NixValue `json:",omitempty"` - Loc []string - RelatedPackages Markdown `json:",omitempty"` - Type string -} - -func (*NixOption) BleveType() string { - return "option" -} |