From cc9ca58a85c54df09a1ecb4625357551cc7b209e Mon Sep 17 00:00:00 2001 From: Martin Thielecke Date: Fri, 20 May 2022 21:42:53 +0200 Subject: [PATCH] fix paths --- githook-gobuild/hook.go | 2 +- githook-gofmt/hook.go | 2 +- githook-gotest/hook.go | 2 +- go.mod | 5 +++++ go.sum | 2 ++ main.go | 2 +- 6 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/githook-gobuild/hook.go b/githook-gobuild/hook.go index cdc52f3..bce44f1 100644 --- a/githook-gobuild/hook.go +++ b/githook-gobuild/hook.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/mthie/git-gohooks/general" + "go.mthie.com/git-gohooks/general" ) func main() { diff --git a/githook-gofmt/hook.go b/githook-gofmt/hook.go index d9e3fd2..440142a 100644 --- a/githook-gofmt/hook.go +++ b/githook-gofmt/hook.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "github.com/mthie/git-gohooks/general" + "go.mthie.com/git-gohooks/general" ) func main() { diff --git a/githook-gotest/hook.go b/githook-gotest/hook.go index 9b521f6..e298902 100644 --- a/githook-gotest/hook.go +++ b/githook-gotest/hook.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/mthie/git-gohooks/general" + "go.mthie.com/git-gohooks/general" ) func main() { diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a6abb86 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.mthie.com/mthie/git-gohooks + +go 1.18 + +require go.mthie.com/git-gohooks v0.0.0-20150822222045-ff589afc0101 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c13e2ef --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +go.mthie.com/git-gohooks v0.0.0-20150822222045-ff589afc0101 h1:dsvJ4d0/ZADg5QhYB1WAkQUzxEnKz+d874xpcIfWDfw= +go.mthie.com/git-gohooks v0.0.0-20150822222045-ff589afc0101/go.mod h1:G6whUzvxSMxrIKJVtOYaWV3ihjld3GaI2tVUDrzTW/A= diff --git a/main.go b/main.go index 804a385..3b05413 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/mthie/git-gohooks/general" + "go.mthie.com/git-gohooks/general" ) func main() {