add min and max temp, refactore nvidia api

This commit is contained in:
2024-04-21 17:33:21 +00:00
parent 74432b1929
commit d75f4a8431
7 changed files with 192 additions and 179 deletions

10
go.mod
View File

@@ -3,12 +3,10 @@ module nvidiadashboard
go 1.22
require (
github.com/NVIDIA/go-nvml v0.12.0-2
github.com/NVIDIA/go-nvml v0.12.0-4
github.com/go-chi/chi/v5 v5.0.12
golang.org/x/net v0.21.0
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf
golang.org/x/net v0.24.0
)
require (
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf // indirect
golang.org/x/text v0.14.0 // indirect
)
require golang.org/x/text v0.14.0 // indirect