diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0fbb1b27..80f13418 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -54,4 +54,4 @@ jobs: # Updating go report card for main branch only - name: GoReportCard if: github.event_name == 'push' && github.ref == 'refs/heads/main' - run: curl --fail --request POST "https://goreportcard.com/checks" --data "repo=github.com/Nerzal/gocloak" + run: curl --fail --request POST "https://goreportcard.com/checks" --data "repo=github.com/vdahlberg/gocloak" diff --git a/.golangci.yml b/.golangci.yml index 9e1d67ac..2f6ccb11 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -24,7 +24,7 @@ linters-settings: govet: check-shadowing: false goimports: - local-prefixes: github.com/Nerzal/gocloak + local-prefixes: github.com/vdahlberg/gocloak gocognit: min-complexity: 15 gocyclo: diff --git a/README.md b/README.md index 7df6e9ab..1785a7f6 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # gocloak -[![codebeat badge](https://codebeat.co/badges/18a37f35-6a95-4e40-9e78-272233892332)](https://codebeat.co/projects/github-com-nerzal-gocloak-main) -[![Go Report Card](https://goreportcard.com/badge/github.com/Nerzal/gocloak)](https://goreportcard.com/report/github.com/Nerzal/gocloak) -[![Go Doc](https://godoc.org/github.com/Nerzal/gocloak?status.svg)](https://godoc.org/github.com/Nerzal/gocloak) -[![Build Status](https://github.com/Nerzal/gocloak/workflows/Tests/badge.svg)](https://github.com/Nerzal/gocloak/actions?query=branch%3Amain+event%3Apush) -[![GitHub release](https://img.shields.io/github/tag/Nerzal/gocloak.svg)](https://GitHub.com/Nerzal/gocloak/releases/) -[![codecov](https://codecov.io/gh/Nerzal/gocloak/branch/master/graph/badge.svg)](https://codecov.io/gh/Nerzal/gocloak) -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FNerzal%2Fgocloak.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FNerzal%2Fgocloak?ref=badge_shield) +[![codebeat badge](https://codebeat.co/badges/18a37f35-6a95-4e40-9e78-272233892332)](https://codebeat.co/projects/github-com-vdahlberg-gocloak-main) +[![Go Report Card](https://goreportcard.com/badge/github.com/vdahlberg/gocloak)](https://goreportcard.com/report/github.com/vdahlberg/gocloak) +[![Go Doc](https://godoc.org/github.com/vdahlberg/gocloak?status.svg)](https://godoc.org/github.com/vdahlberg/gocloak) +[![Build Status](https://github.com/vdahlberg/gocloak/workflows/Tests/badge.svg)](https://github.com/vdahlberg/gocloak/actions?query=branch%3Amain+event%3Apush) +[![GitHub release](https://img.shields.io/github/tag/vdahlberg/gocloak.svg)](https://GitHub.com/vdahlberg/gocloak/releases/) +[![codecov](https://codecov.io/gh/vdahlberg/gocloak/branch/master/graph/badge.svg)](https://codecov.io/gh/vdahlberg/gocloak) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvdahlberg%2Fgocloak.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvdahlberg%2Fgocloak?ref=badge_shield) Golang Keycloak API Package @@ -14,17 +14,17 @@ This client is based on: [go-keycloak](https://github.com/PhilippHeuer/go-keyclo For Questions either raise an issue, or come to the [gopher-slack](https://invite.slack.golangbridge.org/) into the channel [#gocloak](https://gophers.slack.com/app_redirect?channel=gocloak) -If u are using the echo framework have a look at [gocloak-echo](https://github.com/Nerzal/gocloak-echo) +If u are using the echo framework have a look at [gocloak-echo](https://github.com/vdahlberg/gocloak-echo) -Benchmarks can be found [here](https://nerzal.github.io/gocloak/dev/bench/) +Benchmarks can be found [here](https://vdahlberg.github.io/gocloak/dev/bench/) ## Contribution -(WIP) +(WIP) ## Changelog -For release notes please consult the specific releases [here](https://github.com/Nerzal/gocloak/releases) +For release notes please consult the specific releases [here](https://github.com/vdahlberg/gocloak/releases) ## Usage @@ -32,13 +32,13 @@ For release notes please consult the specific releases [here](https://github.com ### Installation ```shell -go get github.com/Nerzal/gocloak/v11 +go get github.com/vdahlberg/gocloak/v11 ``` ### Importing ```go - import "github.com/Nerzal/gocloak/v11" + import "github.com/vdahlberg/gocloak/v11" ``` ### Create New User @@ -470,7 +470,7 @@ Note that empty parameters are not included, because of the use of ```omitempty` ## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FNerzal%2Fgocloak.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FNerzal%2Fgocloak?ref=badge_large) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvdahlberg%2Fgocloak.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvdahlberg%2Fgocloak?ref=badge_large) ## Related Projects diff --git a/client.go b/client.go index 6447f74f..9d922e03 100644 --- a/client.go +++ b/client.go @@ -17,7 +17,7 @@ import ( "github.com/pkg/errors" "github.com/segmentio/ksuid" - "github.com/Nerzal/gocloak/v11/pkg/jwx" + "github.com/vdahlberg/gocloak/v11/pkg/jwx" ) type gocloak struct { diff --git a/client_benchmark_test.go b/client_benchmark_test.go index e097fbd8..96f0c5eb 100644 --- a/client_benchmark_test.go +++ b/client_benchmark_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/Nerzal/gocloak/v11" + "github.com/vdahlberg/gocloak/v11" "github.com/stretchr/testify/assert" ) diff --git a/client_test.go b/client_test.go index ed981bc9..6834d44c 100644 --- a/client_test.go +++ b/client_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/crypto/pkcs12" - "github.com/Nerzal/gocloak/v11" + "github.com/vdahlberg/gocloak/v11" ) type configAdmin struct { diff --git a/go.mod b/go.mod index d3a67f2f..0ff0ea26 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Nerzal/gocloak/v11 +module github.com/vdahlberg/gocloak/v11 go 1.15 diff --git a/model_test.go b/model_test.go index fdb3c6df..b0aa5dc7 100644 --- a/model_test.go +++ b/model_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/Nerzal/gocloak/v11" + "github.com/vdahlberg/gocloak/v11" "github.com/stretchr/testify/assert" ) diff --git a/utils_test.go b/utils_test.go index 92cfa212..7f37ea67 100644 --- a/utils_test.go +++ b/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Nerzal/gocloak/v11" + "github.com/vdahlberg/gocloak/v11" ) func TestStringP(t *testing.T) {