diff --git a/examples/gomods/README.md b/examples/gomods/README.md index 8d96aa0..97d6ad5 100644 --- a/examples/gomods/README.md +++ b/examples/gomods/README.md @@ -2,7 +2,7 @@ ## Steps - 1. Go get enumer `go get -u github.com/dmarkham/enumer` - 2. `go generate` This should create `pill_enumer.go` - 3. `go run *.go` to see it in action - 4. `go mod tidy` to remove the deps for `enumer` once your happy. +1. Go get enumer `go get -u github.com/igormiku/enumer` +2. `go generate` This should create `pill_enumer.go` +3. `go run *.go` to see it in action +4. `go mod tidy` to remove the deps for `enumer` once your happy. diff --git a/examples/gomods/main.go b/examples/gomods/main.go index 7d38027..798efe8 100644 --- a/examples/gomods/main.go +++ b/examples/gomods/main.go @@ -2,7 +2,7 @@ package main import "fmt" -//go:generate go run github.com/dmarkham/enumer -type=Pill -json +//go:generate go run github.com/igormiku/enumer -type=Pill -json type Pill int const ( diff --git a/go.mod b/go.mod index b08e1fa..11c3cd1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dmarkham/enumer +module github.com/igormiku/enumer require ( github.com/pascaldekloe/name v1.0.0 diff --git a/stringer.go b/stringer.go index 49c87fd..29ee405 100644 --- a/stringer.go +++ b/stringer.go @@ -5,7 +5,7 @@ // Enumer is a tool to generate Go code that adds useful methods to Go enums (constants with a specific type). // It started as a fork of Rob Pike’s Stringer tool // -// Please visit http://github.com/dmarkham/enumer for a comprehensive documentation +// Please visit http://github.com/igormiku/enumer for a comprehensive documentation package main import ( @@ -71,7 +71,7 @@ func Usage() { _, _ = fmt.Fprintf(os.Stderr, "\tEnumer [flags] -type T [directory]\n") _, _ = fmt.Fprintf(os.Stderr, "\tEnumer [flags] -type T files... # Must be a single package\n") _, _ = fmt.Fprintf(os.Stderr, "For more information, see:\n") - _, _ = fmt.Fprintf(os.Stderr, "\thttp://godoc.org/github.com/dmarkham/enumer\n") + _, _ = fmt.Fprintf(os.Stderr, "\thttp://godoc.org/github.com/igormiku/enumer\n") _, _ = fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() }