Add --latest flag

Allow using the latest version of the Unifi controller with `--latest`.
This commit is contained in:
Joshua Spence
2021-07-30 12:04:44 +10:00
parent 8f8e19eb2a
commit e27afc6e32
6 changed files with 255 additions and 8 deletions

1
go.mod
View File

@@ -4,6 +4,7 @@ module github.com/paultyng/go-unifi
go 1.16
require (
github.com/hashicorp/go-version v1.3.0
github.com/iancoleman/strcase v0.2.0
github.com/kr/pretty v0.1.0 // indirect
github.com/stretchr/testify v1.7.0