From 626ea25ae6679eae1c87159621616e73fd4ace1f Mon Sep 17 00:00:00 2001 From: Gritzko Daniel Kleiner Date: Sun, 19 Jun 2022 13:29:46 -0300 Subject: [PATCH] [ci skip] update mod name --- Makefile | 2 ++ README.md | 2 +- docs/migration-guidlines.md | 6 +++--- go.mod | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e7e27bb..a744f90 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,5 @@ build: CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o healthchecker pkg/**/*.go view-docs: godoc -http=:8331 +run: + go run main.go diff --git a/README.md b/README.md index 6c03b33..c999390 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ import ( "fmt" "net/http" - "github.com/gritzkoo/healthchecker.v1/pkg/healthchecker" + "github.com/gritzkoo/golang-health-checker-lw/pkg/healthchecker" ) // declaring a function that will test somenting // this example test a http request calling diff --git a/docs/migration-guidlines.md b/docs/migration-guidlines.md index cf3ae32..20f9328 100644 --- a/docs/migration-guidlines.md +++ b/docs/migration-guidlines.md @@ -15,7 +15,7 @@ import ( "github.com/go-redis/redis" // assuming you are using this package - "github.com/gritzkoo/healthchecker.v1/pkg/healthchecker" + "github.com/gritzkoo/golang-health-checker-lw/pkg/healthchecker" ) func RedisTest() healthchecker.CheckResponse { @@ -48,7 +48,7 @@ package yourmemcache import ( "github.com/bradfitz/gomemcache/memcache" // assuming you are using this package - "github.com/gritzkoo/healthchecker.v1/pkg/healthchecker" + "github.com/gritzkoo/golang-health-checker-lw/pkg/healthchecker" ) @@ -75,7 +75,7 @@ import ( "yourmodname/yourredis" // here goes the name where you declared the Redis Handle function "yourmodname/yourmemcache" // here goes the name where you declared the memcached Handle function - "github.com/gritzkoo/healthchecker.v1/pkg/healthchecker" + "github.com/gritzkoo/golang-health-checker-lw/pkg/healthchecker" ) var checker = healthchecker.New(healthchecker.Config{ diff --git a/go.mod b/go.mod index 9cf85aa..fa7dfe3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gritzkoo/healthchecker.v1 +module github.com/gritzkoo/golang-health-checker-lw go 1.18