Skip to content

Commit

Permalink
feat(main) change module name
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioBernardes committed Sep 28, 2022
1 parent 9f057bc commit aa3ec31
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# webpush-go

[![Go Report Card](https://goreportcard.com/badge/github.com/SherClockHolmes/webpush-go)](https://goreportcard.com/report/github.com/SherClockHolmes/webpush-go)
[![GoDoc](https://godoc.org/github.com/SherClockHolmes/webpush-go?status.svg)](https://godoc.org/github.com/SherClockHolmes/webpush-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/catho/webpush-go)](https://goreportcard.com/report/github.com/catho/webpush-go)
[![GoDoc](https://godoc.org/github.com/catho/webpush-go?status.svg)](https://godoc.org/github.com/catho/webpush-go)

Web Push API Encryption with VAPID support.

```bash
go get -u github.com/SherClockHolmes/webpush-go
go get -u github.com/catho/webpush-go
```

## Example
Expand All @@ -19,7 +19,7 @@ package main
import (
"encoding/json"

webpush "github.com/SherClockHolmes/webpush-go"
webpush "github.com/catho/webpush-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"encoding/json"

webpush "github.com/SherClockHolmes/webpush-go"
webpush "github.com/catho/webpush-go"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/SherClockHolmes/webpush-go
module github.com/catho/webpush-go

require (
github.com/golang-jwt/jwt v3.2.2+incompatible
Expand Down
2 changes: 1 addition & 1 deletion vapid.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func getVAPIDAuthorizationHeader(
}

// Need to decode the vapid private key in multiple base64 formats
// Solution from: https://github.com/SherClockHolmes/webpush-go/issues/29
// Solution from: https://github.com/catho/webpush-go/issues/29
func decodeVapidKey(key string) ([]byte, error) {
bytes, err := base64.URLEncoding.DecodeString(key)
if err == nil {
Expand Down

0 comments on commit aa3ec31

Please sign in to comment.