Skip to content

Commit

Permalink
[ci skip] update mod name
Browse files Browse the repository at this point in the history
  • Loading branch information
gritzkoo committed Jun 19, 2022
1 parent 25cea7c commit 626ea25
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/migration-guidlines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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"

)

Expand All @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/gritzkoo/healthchecker.v1
module github.com/gritzkoo/golang-health-checker-lw

go 1.18

Expand Down

0 comments on commit 626ea25

Please sign in to comment.