From 0eab0e59add3de2d282040e17e1dd31725c111eb Mon Sep 17 00:00:00 2001 From: Martin Strobel Date: Sun, 19 Dec 2021 15:10:33 -0800 Subject: [PATCH] Fixup examples to reference v2 module --- dictionary_examples_test.go | 2 +- linkedlist_examples_test.go | 2 +- lru_example_test.go | 4 ++-- query_examples_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dictionary_examples_test.go b/dictionary_examples_test.go index 08f2570..e04dfbb 100644 --- a/dictionary_examples_test.go +++ b/dictionary_examples_test.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/marstr/collection" + "github.com/marstr/collection/v2" ) func ExampleDictionary_Add() { diff --git a/linkedlist_examples_test.go b/linkedlist_examples_test.go index 18306d1..552bf4e 100644 --- a/linkedlist_examples_test.go +++ b/linkedlist_examples_test.go @@ -3,7 +3,7 @@ package collection_test import ( "fmt" - "github.com/marstr/collection" + "github.com/marstr/collection/v2" ) func ExampleLinkedList_AddFront() { diff --git a/lru_example_test.go b/lru_example_test.go index 80b99b9..20a7984 100644 --- a/lru_example_test.go +++ b/lru_example_test.go @@ -3,7 +3,7 @@ package collection_test import ( "context" "fmt" - "github.com/marstr/collection" + "github.com/marstr/collection/v2" ) func ExampleLRUCache() { @@ -53,4 +53,4 @@ func ExampleLRUCache_EnumerateKeys() { // 4 // 3 // 2 -} \ No newline at end of file +} diff --git a/query_examples_test.go b/query_examples_test.go index 80822e6..1124091 100644 --- a/query_examples_test.go +++ b/query_examples_test.go @@ -4,7 +4,7 @@ import ( "fmt" "sync" - "github.com/marstr/collection" + "github.com/marstr/collection/v2" ) func ExampleAsEnumerable() {