Skip to content

Commit

Permalink
fixed go windows reference from search/replace
Browse files Browse the repository at this point in the history
  • Loading branch information
redanthrax committed Jun 30, 2022
1 parent 932f15f commit e3cfc90
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ module github.com/redanthrax/go-sysinfo
go 1.18

require (
github.com/redanthrax/go-sysinfo v1.8.0
github.com/redanthrax/go-windows v1.0.1
github.com/elastic/go-windows v1.0.1
github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901
github.com/pkg/errors v0.9.1
github.com/prometheus/procfs v0.7.3
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/redanthrax/go-sysinfo v1.8.0 h1:hwmVlZLfTVTP+L0hSS2BD/G8GNPmcl4JEMoOktSw/wc=
github.com/redanthrax/go-sysinfo v1.8.0/go.mod h1:JfllUnzoQV/JRYymbH3dO1yggI3mV2oTKSXsDHM+uIM=
github.com/redanthrax/go-windows v1.0.1 h1:AlYZOldA+UJ0/2nBuqWdo90GFCgG9xuyw9SYzGUtJm0=
github.com/redanthrax/go-windows v1.0.1/go.mod h1:FoVvqWSun28vaDQPbj2Elfc0JahhPB7WQEGa3c814Ss=
github.com/elastic/go-windows v1.0.1 h1:AlYZOldA+UJ0/2nBuqWdo90GFCgG9xuyw9SYzGUtJm0=
github.com/elastic/go-windows v1.0.1/go.mod h1:FoVvqWSun28vaDQPbj2Elfc0JahhPB7WQEGa3c814Ss=
github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
Expand Down
2 changes: 1 addition & 1 deletion providers/windows/arch_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package windows

import (
windows "github.com/redanthrax/go-windows"
windows "github.com/elastic/go-windows"
)

func Architecture() (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion providers/windows/boottime_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/pkg/errors"

windows "github.com/redanthrax/go-windows"
windows "github.com/elastic/go-windows"
)

func BootTime() (time.Time, error) {
Expand Down
2 changes: 1 addition & 1 deletion providers/windows/host_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/joeshaw/multierror"
"github.com/pkg/errors"
windows "github.com/redanthrax/go-windows"
windows "github.com/elastic/go-windows"

"github.com/redanthrax/go-sysinfo/internal/registry"
"github.com/redanthrax/go-sysinfo/providers/shared"
Expand Down
2 changes: 1 addition & 1 deletion providers/windows/kernel_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package windows

import (
windows "github.com/redanthrax/go-windows"
windows "github.com/elastic/go-windows"
)

const windowsKernelExe = `C:\Windows\System32\ntoskrnl.exe`
Expand Down
2 changes: 1 addition & 1 deletion providers/windows/process_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/pkg/errors"
syswin "golang.org/x/sys/windows"

windows "github.com/redanthrax/go-windows"
windows "github.com/elastic/go-windows"

"github.com/redanthrax/go-sysinfo/types"
)
Expand Down

0 comments on commit e3cfc90

Please sign in to comment.