From c6ee5886793cf23dd70eb82175a6bff543fb1a5d Mon Sep 17 00:00:00 2001 From: Adrien CABARBAYE Date: Tue, 19 Oct 2021 09:52:39 +0100 Subject: [PATCH 1/3] Modify module name to match the repository URL In order to be able to install this module instead of the one defined at StackExchange/wmi, the module name needs to be modified. Otherwise the following issue happens: ``` go: github.com/yusufpapurcu/wmi@v1.2.1: parsing go.mod: module declares its path as: github.com/StackExchange/wmi but was required as: github.com/yusufpapurcu/wmi ``` --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5ec9498..371a00d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/StackExchange/wmi +module github.com/yusufpapurcu/wmi go 1.13 From 7fdd7e654b433f914270928a9d032f6ee3234c5b Mon Sep 17 00:00:00 2001 From: Adrien CABARBAYE Date: Tue, 19 Oct 2021 09:53:28 +0100 Subject: [PATCH 2/3] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 371a00d..77be5d0 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/yusufpapurcu/wmi +module github.com/yusufpapurcu/wmi go 1.13 From 26a8014a404ab210a2fecf9aa6958c43d1f9c5e2 Mon Sep 17 00:00:00 2001 From: Adrien CABARBAYE Date: Tue, 19 Oct 2021 13:02:17 +0100 Subject: [PATCH 3/3] updating go version --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 77be5d0..8fccfb1 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/yusufpapurcu/wmi -go 1.13 +go 1.16 require github.com/go-ole/go-ole v1.2.6