Skip to content

Commit

Permalink
Fixup examples to reference v2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
marstr committed Dec 19, 2021
1 parent ddb27ce commit 0eab0e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dictionary_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/marstr/collection"
"github.com/marstr/collection/v2"
)

func ExampleDictionary_Add() {
Expand Down
2 changes: 1 addition & 1 deletion linkedlist_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collection_test
import (
"fmt"

"github.com/marstr/collection"
"github.com/marstr/collection/v2"
)

func ExampleLinkedList_AddFront() {
Expand Down
4 changes: 2 additions & 2 deletions lru_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collection_test
import (
"context"
"fmt"
"github.com/marstr/collection"
"github.com/marstr/collection/v2"
)

func ExampleLRUCache() {
Expand Down Expand Up @@ -53,4 +53,4 @@ func ExampleLRUCache_EnumerateKeys() {
// 4
// 3
// 2
}
}
2 changes: 1 addition & 1 deletion query_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sync"

"github.com/marstr/collection"
"github.com/marstr/collection/v2"
)

func ExampleAsEnumerable() {
Expand Down

0 comments on commit 0eab0e5

Please sign in to comment.