Skip to content

Commit

Permalink
Bump version to v2
Browse files Browse the repository at this point in the history
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
  • Loading branch information
vartanbeno committed Feb 1, 2021
1 parent fc7bed4 commit e60ea72
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -8,7 +8,7 @@

[![Actions Status](https://github.com/vartanbeno/go-reddit/workflows/tests/badge.svg)](https://github.com/vartanbeno/go-reddit/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/vartanbeno/go-reddit)](https://goreportcard.com/report/github.com/vartanbeno/go-reddit)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/vartanbeno/go-reddit/reddit)](https://pkg.go.dev/github.com/vartanbeno/go-reddit/reddit)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/vartanbeno/go-reddit/v2/reddit)](https://pkg.go.dev/github.com/vartanbeno/go-reddit/v2/reddit)

</div>

Expand Down Expand Up @@ -45,7 +45,7 @@ Make sure to have a Reddit app with a valid client id and secret. [Here](https:/
```go
package main

import "github.com/vartanbeno/go-reddit/reddit"
import "github.com/vartanbeno/go-reddit/v2/reddit"

func main() {
credentials := reddit.Credentials{ID: "id", Secret: "secret", Username: "username", Password: "password"}
Expand Down
2 changes: 1 addition & 1 deletion examples/client-on-request-completed/main.go
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"net/http"

"github.com/vartanbeno/go-reddit/reddit"
"github.com/vartanbeno/go-reddit/v2/reddit"
)

var ctx = context.Background()
Expand Down
2 changes: 1 addition & 1 deletion examples/get-subreddit/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/vartanbeno/go-reddit/reddit"
"github.com/vartanbeno/go-reddit/v2/reddit"
)

var ctx = context.Background()
Expand Down
2 changes: 1 addition & 1 deletion examples/get-top-posts/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/vartanbeno/go-reddit/reddit"
"github.com/vartanbeno/go-reddit/v2/reddit"
)

var ctx = context.Background()
Expand Down
2 changes: 1 addition & 1 deletion examples/stream-posts/main.go
Expand Up @@ -8,7 +8,7 @@ import (
"syscall"
"time"

"github.com/vartanbeno/go-reddit/reddit"
"github.com/vartanbeno/go-reddit/v2/reddit"
)

var ctx = context.Background()
Expand Down
2 changes: 1 addition & 1 deletion examples/submit-post/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/vartanbeno/go-reddit/reddit"
"github.com/vartanbeno/go-reddit/v2/reddit"
)

var ctx = context.Background()
Expand Down

0 comments on commit e60ea72

Please sign in to comment.