Skip to content

Commit c84cc30

Browse files
authored
Merge pull request #101 from kube-logging/refactor/change-modul
refactor: change go module path
2 parents 8c91d53 + 6a2c3bd commit c84cc30

File tree

18 files changed

+37
-37
lines changed

18 files changed

+37
-37
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
module example.com/gocr
1+
module github.com/kube-logging/custom-runner
22

3-
go 1.23.5
3+
go 1.24.3
44

55
require (
66
github.com/fsnotify/fsnotify v1.9.0
77
github.com/mitchellh/mapstructure v1.5.0
88
gopkg.in/yaml.v3 v3.0.1
99
)
1010

11-
require golang.org/x/sys v0.29.0 // indirect
11+
require golang.org/x/sys v0.13.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S
22
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
33
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
44
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
5-
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
6-
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
5+
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
6+
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
77
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
88
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
99
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
"regexp"
1010
"strings"
1111

12-
"example.com/gocr/src/api"
13-
"example.com/gocr/src/config"
14-
"example.com/gocr/src/events"
15-
"example.com/gocr/src/filewatcher"
16-
"example.com/gocr/src/httpapi"
17-
"example.com/gocr/src/info"
18-
"example.com/gocr/src/process"
12+
"github.com/kube-logging/custom-runner/src/api"
13+
"github.com/kube-logging/custom-runner/src/config"
14+
"github.com/kube-logging/custom-runner/src/events"
15+
"github.com/kube-logging/custom-runner/src/filewatcher"
16+
"github.com/kube-logging/custom-runner/src/httpapi"
17+
"github.com/kube-logging/custom-runner/src/info"
18+
"github.com/kube-logging/custom-runner/src/process"
1919
)
2020

2121
type ExecArgs struct {

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"configMigration": true,
1111
"constraints": {
12-
"go": "1.23"
12+
"go": "1.24"
1313
},
1414
"customManagers": [
1515
{

src/api/api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ package api
44
import (
55
"fmt"
66

7-
"example.com/gocr/src/api/types"
8-
"example.com/gocr/src/config"
9-
ptypes "example.com/gocr/src/process/types"
7+
"github.com/kube-logging/custom-runner/src/api/types"
8+
"github.com/kube-logging/custom-runner/src/config"
9+
ptypes "github.com/kube-logging/custom-runner/src/process/types"
1010
)
1111

1212
type API struct {

src/api/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
package api
33

44
import (
5-
"example.com/gocr/src/api/types"
6-
"example.com/gocr/src/config"
5+
"github.com/kube-logging/custom-runner/src/api/types"
6+
"github.com/kube-logging/custom-runner/src/config"
77
)
88

99
func (a *API) Config() types.ApiResult {

src/api/exec.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"os"
77
"os/exec"
88

9-
"example.com/gocr/src/api/types"
10-
"example.com/gocr/src/events"
11-
ptypes "example.com/gocr/src/process/types"
9+
"github.com/kube-logging/custom-runner/src/api/types"
10+
"github.com/kube-logging/custom-runner/src/events"
11+
ptypes "github.com/kube-logging/custom-runner/src/process/types"
1212
)
1313

1414
func (a *API) Exec(key ptypes.Key, command string) types.ApiResult {

src/api/exit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"time"
77

8-
"example.com/gocr/src/api/types"
8+
"github.com/kube-logging/custom-runner/src/api/types"
99
)
1010

1111
func (a *API) Exit() types.ApiResult {

src/api/get.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package api
44
import (
55
"fmt"
66

7-
"example.com/gocr/src/api/types"
8-
ptypes "example.com/gocr/src/process/types"
7+
"github.com/kube-logging/custom-runner/src/api/types"
8+
ptypes "github.com/kube-logging/custom-runner/src/process/types"
99
)
1010

1111
func (a *API) Get(key ptypes.Key) types.ApiResult {

src/api/kill.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package api
44
import (
55
"fmt"
66

7-
"example.com/gocr/src/api/types"
8-
ptypes "example.com/gocr/src/process/types"
7+
"github.com/kube-logging/custom-runner/src/api/types"
8+
ptypes "github.com/kube-logging/custom-runner/src/process/types"
99
)
1010

1111
func (a *API) Kill(key ptypes.Key) types.ApiResult {

0 commit comments

Comments
 (0)