Release 1.0.6 (#70)
This commit is contained in:
parent
a7f8dd58f2
commit
d78937852e
3 changed files with 6 additions and 2 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [v1.0.5] - 2024-01-06
|
||||||
|
### Fixed
|
||||||
|
- Sort by `Known` field bug [#70](https://github.com/aceberg/WatchYourLAN/issues/70)
|
||||||
|
|
||||||
## [v1.0.5] - 2024-01-05
|
## [v1.0.5] - 2024-01-05
|
||||||
### Added
|
### Added
|
||||||
- Goreleaser for binaries [#66](https://github.com/aceberg/WatchYourLAN/issues/66)
|
- Goreleaser for binaries [#66](https://github.com/aceberg/WatchYourLAN/issues/66)
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ func sortByField(method string, field string) {
|
||||||
r := reflect.ValueOf(&host)
|
r := reflect.ValueOf(&host)
|
||||||
f := reflect.Indirect(r).FieldByName(field)
|
f := reflect.Indirect(r).FieldByName(field)
|
||||||
if field == "Known" {
|
if field == "Known" {
|
||||||
oneSort.F = strconv.FormatUint(f.Uint(), 10)
|
oneSort.F = strconv.FormatInt(f.Int(), 10)
|
||||||
} else {
|
} else {
|
||||||
oneSort.F = f.String()
|
oneSort.F = f.String()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
VERSION=1.0.5
|
VERSION=1.0.6
|
||||||
Loading…
Reference in a new issue