diff --git a/README.md b/README.md index 9af6ea8..307998c 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,16 @@ JNI Go Interface. A package to access Java from Go code. Can be used from a Go executable or shared library. This allows for Go to initiate the JVM or Java to start a Go runtime respectively. -[![Go Reference](https://pkg.go.dev/badge/tekao.net/jnigi.svg)](https://pkg.go.dev/tekao.net/jnigi) +[![Go Reference](https://pkg.go.dev/badge/github.com/timob/jnigi.svg)](https://pkg.go.dev/github.com/timob/jnigi) [![Actions](https://github.com/timob/jnigi/actions/workflows/ci_test.yaml/badge.svg)](https://github.com/timob/jnigi/actions?query=branch%3Amaster) +## Module name change +The go module name is renamed to `github.com/timob/jnigi` in the branch. Checkout `v2` if you want to retain the old name. + ## Install ``` bash # In your apps Go module directory -go get tekao.net/jnigi +go get github.com/timob/jnigi # Add flags needed to include JNI header files, change this as appropriate for your JDK and OS export CGO_CFLAGS="-I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux" @@ -53,7 +56,7 @@ package main import ( "fmt" - "tekao.net/jnigi" + "github.com/timob/jnigi" "log" "runtime" ) diff --git a/example/go.mod b/example/go.mod index e6e1aa9..7e0fa85 100644 --- a/example/go.mod +++ b/example/go.mod @@ -3,7 +3,7 @@ module example go 1.17 require ( - tekao.net/jnigi v0.0.0 + github.com/timob/jnigi v0.0.0 ) -replace tekao.net/jnigi => ../ +replace github.com/timob/jnigi => ../ diff --git a/example/hello_world.go b/example/hello_world.go index 918aa5d..10bf727 100644 --- a/example/hello_world.go +++ b/example/hello_world.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "tekao.net/jnigi" + "github.com/timob/jnigi" "log" "runtime" ) diff --git a/go.mod b/go.mod index 6062ebe..00d4957 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module tekao.net/jnigi +module github.com/timob/jnigi go 1.12