diff options
Diffstat (limited to 'range.go')
| -rw-r--r-- | range.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/range.go b/range.go new file mode 100644 index 0000000..b110cb8 --- /dev/null +++ b/range.go @@ -0,0 +1,10 @@ +package widget + +// Range(1, 10) includes the values 1 and 10 +// almost all toolkits use integers so there doesn't +// seem to be a good idea to use 'type any' here as it +// just makes things more complicated for no good reason +type RangeType struct { + Low int + High int +} |
