2ad120c87b
adding a mocked class for Config. Adding device type to Device struct. Will eventually be needed for raid drives. adding End-to-end testing capabilties. Added testdata json files for webserver requests. Seperated Start code and Setup code in webapp so we can test. renamed "smart_attributes" to "ata_attributes" - Backwards incomatible change. Added front end device sorting (red, yellow, green) show unknown icon/status if drive has no smart data yet. Moved all attribute "getters" into the controller. created a device-sort pipe.
21 lines
646 B
Modula-2
21 lines
646 B
Modula-2
module github.com/analogj/scrutiny
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/analogj/go-util v0.0.0-20190301173314-5295e364eb14
|
|
github.com/fatih/color v1.9.0
|
|
github.com/gin-gonic/gin v1.6.3
|
|
github.com/golang/mock v1.4.3
|
|
github.com/jaypipes/ghw v0.6.1
|
|
github.com/jinzhu/gorm v1.9.14
|
|
github.com/kvz/logstreamer v0.0.0-20150507115422-a635b98146f0 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/sirupsen/logrus v1.2.0
|
|
github.com/spf13/viper v1.7.0
|
|
github.com/stretchr/testify v1.5.1
|
|
github.com/urfave/cli/v2 v2.2.0
|
|
golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59 // indirect
|
|
gopkg.in/yaml.v2 v2.3.0 // indirect
|
|
)
|