- Notifications
You must be signed in to change notification settings - Fork22
Commitd90c181
authored
chore: change OptionType to alias for usage as string (#377)
To be backwards compatible using this repo as a library, use a stringalias. This allows using the 'type' as a `string` or the new enum.Since enum validation is quite weak in Go, this is baiscallyfunctionally equvialent.1 parent8804c44 commitd90c181
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
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
Comments
(0)