Files
go-unifi/go.mod
Joshua Spence ff2854e943 Implement Stringer interface for DeviceState (#49)
* Implement `Stringer` interface for `DeviceState`

If device adoption fails the error message isn't very readable at the moment.

```
Error: unexpected state '10', wanted target '2'.
```

* Use `stringer`
2021-09-24 13:55:12 +10:00

17 lines
462 B
Modula-2

module github.com/paultyng/go-unifi
// set to use embed for generation
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
github.com/tj/assert v0.0.3
github.com/ulikunitz/xz v0.5.10
github.com/xor-gate/ar v0.0.0-20170530204233-5c72ae81e2b7
golang.org/x/tools v0.1.6
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
)