Commit d90c181
authored
chore: change OptionType to alias for usage as string (#377)
To be backwards compatible using this repo as a library, use a string
alias. This allows using the 'type' as a `string` or the new enum.
Since enum validation is quite weak in Go, this is baiscally
functionally equvialent.1 parent 8804c44 commit d90c181
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments