11 lines
271 B
Go
11 lines
271 B
Go
|
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
|
||
|
}
|