From 77aa9d9e651388ee61489c49417292718573c8c4 Mon Sep 17 00:00:00 2001 From: Denis Palnitsky Date: Mon, 2 May 2022 10:10:02 +0200 Subject: [PATCH] Update package name --- README.md | 12 ++++++------ examples/main.go | 3 ++- go.mod | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7728ac4..57fdadf 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # go-cache -[![test-and-lint](https://github.com/DenisPalnitsky/go-cache/actions/workflows/test.yaml/badge.svg)](https://github.com/DenisPalnitsky/go-cache/actions/workflows/test.yaml) -[![codecov](https://codecov.io/gh/DenisPalnitsky/go-cache/branch/main/graph/badge.svg?token=FMvJ4TbC2r)](https://codecov.io/gh/DenisPalnitsky/go-cache) -[![Go Report Card](https://goreportcard.com/badge/github.com/denispalnitsky/go-cache)](https://goreportcard.com/report/github.com/denispalnitsky/go-cache) +[![test-and-lint](https://github.com/num30/go-cache/actions/workflows/test.yaml/badge.svg)](https://github.com/num30/go-cache/actions/workflows/test.yaml) +[![codecov](https://codecov.io/gh/num30/go-cache/branch/main/graph/badge.svg?token=FMvJ4TbC2r)](https://codecov.io/gh/num30/go-cache) +[![Go Report Card](https://goreportcard.com/badge/github.com/num30/go-cache)](https://goreportcard.com/report/github.com/num30/go-cache) ℹ️ go-cache is generic port of great [go-cache](https://github.com/patrickmn/go-cache) library that was written by @patrickmn @@ -21,14 +21,14 @@ one) to recover from downtime quickly. (See the docs for `NewFrom()` for caveats ### Installation -`go get github.com/DenisPalnitsky/go-cache` +`go get github.com/num30/go-cache` ### Usage ```go import ( "fmt" - "github.com/DenisPalnitsky/go-cache" + "github.com/num30/go-cache" "time" ) @@ -64,4 +64,4 @@ Run this example with `go run examples/main.go`. ### Reference -`godoc` or [http://godoc.org/github.com/DenisPalnitsky/go-cache](http://godoc.org/github.com/DenisPalnitsky/go-cache) +`godoc` or [http://godoc.org/github.com/num30/go-cache](http://godoc.org/github.com/num30/go-cache) diff --git a/examples/main.go b/examples/main.go index 7a3d65c..b801fe4 100644 --- a/examples/main.go +++ b/examples/main.go @@ -2,8 +2,9 @@ package main import ( "fmt" - "github.com/DenisPalnitsky/go-cache" "time" + + "github.com/num30/go-cache" ) func main() { diff --git a/go.mod b/go.mod index 2fc2c11..c49442f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/DenisPalnitsky/go-cache +module github.com/num30/go-cache go 1.18