Bump to 6.0.43, use go generate
Also moved fetching of JSON information to Go for cross-OS usage.
This commit is contained in:
6
unifi/gen.go
Normal file
6
unifi/gen.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package unifi
|
||||
|
||||
// This will generate the *.generated.go files in this package for the specified
|
||||
// Unifi controller version.
|
||||
//go:generate go run ../fields/ -version-base-dir=../fields/ 6.0.43
|
||||
//go:generate gofmt -w -s ./
|
||||
Reference in New Issue
Block a user