Joshua Spence
206f4be940
Make golangci-lint more strict ( #150 )
...
* Reformat some YAML files
* Make `golangci-lint` more strict
2023-06-23 09:00:12 +10:00
Joshua Spence
97b562a6d2
Improvements to field generation ( #137 )
...
* Remove `no-embedded-types` flag
We don't use this.
* Use `fw-download.ubnt.com`
* Return firmware download URL from `latestUnifiVersion`
* Don't use version metadata
2023-05-26 15:29:07 +10:00
Paul Tyng
e7f16ff6c4
lint issues
2022-10-22 21:02:27 -04:00
Joshua Spence
e27afc6e32
Add --latest flag
...
Allow using the latest version of the Unifi controller with `--latest`.
2021-08-11 11:40:15 +10:00
Joshua Spence
8f8e19eb2a
Don't commit intermediate files
...
Don't commit the extracted JSON files as well only need the generated `*.generated.go` files.
2021-08-11 11:40:15 +10:00
Joshua Spence
64a73cdd4b
Fix linter issues
2021-06-29 17:43:00 -04:00
Paul Tyng
4ab4036985
Bump to 6.0.43, use go generate
...
Also moved fetching of JSON information to Go for cross-OS usage.
2021-04-09 09:51:50 -04:00