diff --git a/README.md b/README.md index 858e481..8fe1905 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # fakeword -[![Go Reference](https://pkg.go.dev/badge/github.com/thde/fakeword.svg)](https://pkg.go.dev/github.com/thde/fakeword) [![test](https://github.com/thde/fakeword/actions/workflows/test.yml/badge.svg)](https://github.com/thde/fakeword/actions/workflows/test.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/thde/fakeword)](https://goreportcard.com/report/github.com/thde/fakeword) +[![Go Reference](https://pkg.go.dev/badge/thde.io/fakeword.svg)](https://pkg.go.dev/thde.io/fakeword) [![test](https://github.com/thde/fakeword/actions/workflows/test.yml/badge.svg)](https://github.com/thde/fakeword/actions/workflows/test.yml) [![Go Report Card](https://goreportcard.com/badge/thde.io/fakeword)](https://goreportcard.com/report/thde.io/fakeword) Go package fakeword allows to generate fake words. @@ -11,6 +11,8 @@ Adding some English words, will generate fake words that sound english. ```go package main +import "thde.io/fakeword" + func main() { words := []string{ "Psychotomimetic", diff --git a/example_test.go b/example_test.go index bf7d396..97db733 100644 --- a/example_test.go +++ b/example_test.go @@ -3,7 +3,7 @@ package fakeword_test import ( "fmt" - "github.com/thde/fakeword" + "thde.io/fakeword" ) func ExampleGenerator_Word() { diff --git a/generator.go b/generator.go index 3844700..855abc0 100644 --- a/generator.go +++ b/generator.go @@ -1,7 +1,7 @@ // Package fakeword allows to generate fake words. // Adding words of a certain language, allows to // generate language like words. -package fakeword +package fakeword // import "thde.io/fakeword" import ( "math/rand" diff --git a/go.mod b/go.mod index b834917..e4a0239 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/thde/fakeword +module thde.io/fakeword go 1.18 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e69de29