From f64c65069b50bb5e2482a1f53b4befa57ac9321f Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Sat, 21 Mar 2020 08:43:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2package=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 5 +++-- go.sum | 2 ++ list/array_list/array_list.go | 3 ++- list/linked_list/linked_list.go | 3 ++- list/priority_list/priority_list.go | 4 ++-- list/priority_list/priority_list_test.go | 3 ++- map/linked_hashmap/linked_hashmap.go | 3 ++- map/treemap/treemap.go | 4 ++-- priority_queue/iterator.go | 2 +- priority_queue/priority_queue.go | 2 +- priority_queue/priority_queue_test.go | 2 +- priority_queue/vbt.go | 2 +- priority_queue/vbt_test.go | 2 +- priority_queuekey/iterator.go | 2 +- priority_queuekey/priority_queuekey.go | 3 ++- priority_queuekey/priority_queuekey_test.go | 3 ++- priority_queuekey/vbt_test.go | 2 +- priority_queuekey/vbtkey.go | 2 +- set/treeset/treeset.go | 4 ++-- set/treeset/treeset_test.go | 4 ++-- stack/listarraystack/lastack.go | 3 ++- stack/liststack/stack.go | 4 ++-- tree/avl/avl.go | 4 ++-- tree/avl/avl_test.go | 3 ++- tree/avl/iterator.go | 2 +- tree/avl/iterator_test.go | 2 +- tree/avldup/avldup.go | 4 ++-- tree/avldup/avldup_test.go | 3 ++- tree/avldup/iterator.go | 2 +- tree/avldup/iterator_test.go | 2 +- tree/avlkey/avlkey.go | 4 ++-- tree/avlkey/avlkey_test.go | 3 ++- tree/avlkey/iterator.go | 2 +- tree/avlkey/iterator_test.go | 2 +- tree/avlkeydup/avlkeydup.go | 4 ++-- tree/avlkeydup/avlkeydup_test.go | 3 ++- tree/avlkeydup/iterator.go | 2 +- tree/avlkeydup/iterator_test.go | 2 +- tree/heap/heap.go | 2 +- tree/heap/heap_test.go | 3 ++- tree/lsv/diterator.go | 2 +- tree/vbt/iterator.go | 2 +- tree/vbt/iterator_test.go | 2 +- tree/vbt/vbt.go | 4 ++-- tree/vbt/vbt_test.go | 2 +- tree/vbtdup/iterator.go | 2 +- tree/vbtdup/iterator_test.go | 2 +- tree/vbtdup/vbtdup.go | 4 ++-- tree/vbtdup/vbtdup_test.go | 2 +- tree/vbtkey/iterator.go | 2 +- tree/vbtkey/iterator_test.go | 2 +- tree/vbtkey/vbtkey.go | 4 ++-- tree/vbtkey/vbtkey_test.go | 2 +- tree/vbtkeydup/iterator.go | 2 +- tree/vbtkeydup/iterator_test.go | 2 +- tree/vbtkeydup/vbtdupkey.go | 4 ++-- tree/vbtkeydup/vbtdupkey_test.go | 2 +- 57 files changed, 85 insertions(+), 70 deletions(-) diff --git a/go.mod b/go.mod index 68096d4..8b5ab3f 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,9 @@ -module github.com/474420502/focus +module focus -go 1.12 +go 1.14 require ( + github.com/474420502/focus v0.8.1 // indirect github.com/Pallinder/go-randomdata v1.1.0 github.com/davecgh/go-spew v1.1.1 ) diff --git a/go.sum b/go.sum index fc26243..a817ea8 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/474420502/focus v0.8.1 h1:PZwCgzcnxwx7ZZCWc/XKLVaZPH9e4YX9cP4ckyT2HDA= +github.com/474420502/focus v0.8.1/go.mod h1:jrDXvK1CnUJ3PCR3ZJVYinbS2Yz5kM8OoAbCLe6AF7Y= github.com/Pallinder/go-randomdata v1.1.0 h1:gUubB1IEUliFmzjqjhf+bgkg1o6uoFIkRsP3VrhEcx8= github.com/Pallinder/go-randomdata v1.1.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= diff --git a/list/array_list/array_list.go b/list/array_list/array_list.go index 5ad1c23..e7f5f5c 100644 --- a/list/array_list/array_list.go +++ b/list/array_list/array_list.go @@ -3,7 +3,8 @@ package arraylist import ( "log" - "github.com/474420502/focus/list" + "focus/list" + "github.com/davecgh/go-spew/spew" ) diff --git a/list/linked_list/linked_list.go b/list/linked_list/linked_list.go index 96bb3f0..1fc6cbd 100644 --- a/list/linked_list/linked_list.go +++ b/list/linked_list/linked_list.go @@ -3,7 +3,8 @@ package linkedlist import ( "fmt" - "github.com/474420502/focus/list" + "focus/list" + "github.com/davecgh/go-spew/spew" ) diff --git a/list/priority_list/priority_list.go b/list/priority_list/priority_list.go index 63b784d..973d320 100644 --- a/list/priority_list/priority_list.go +++ b/list/priority_list/priority_list.go @@ -3,8 +3,8 @@ package plist import ( "strings" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/list" + "focus/compare" + "focus/list" "github.com/davecgh/go-spew/spew" ) diff --git a/list/priority_list/priority_list_test.go b/list/priority_list/priority_list_test.go index 74ffa5f..bfbb30d 100644 --- a/list/priority_list/priority_list_test.go +++ b/list/priority_list/priority_list_test.go @@ -7,7 +7,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/map/linked_hashmap/linked_hashmap.go b/map/linked_hashmap/linked_hashmap.go index 4f9afd9..3b04166 100644 --- a/map/linked_hashmap/linked_hashmap.go +++ b/map/linked_hashmap/linked_hashmap.go @@ -1,7 +1,8 @@ package linkedhashmap import ( - linkedlist "github.com/474420502/focus/list/linked_list" + linkedlist "focus/list/linked_list" + "github.com/davecgh/go-spew/spew" ) diff --git a/map/treemap/treemap.go b/map/treemap/treemap.go index 5595ed0..ba6a492 100644 --- a/map/treemap/treemap.go +++ b/map/treemap/treemap.go @@ -5,8 +5,8 @@ import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree/avlkeydup" + "focus/compare" + "focus/tree/avlkeydup" ) type TreeMap struct { diff --git a/priority_queue/iterator.go b/priority_queue/iterator.go index ecc74e7..bcd7d7b 100644 --- a/priority_queue/iterator.go +++ b/priority_queue/iterator.go @@ -1,7 +1,7 @@ package pqueue import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/priority_queue/priority_queue.go b/priority_queue/priority_queue.go index fff8ec5..0ca285c 100644 --- a/priority_queue/priority_queue.go +++ b/priority_queue/priority_queue.go @@ -1,7 +1,7 @@ package pqueue import ( - "github.com/474420502/focus/compare" + "focus/compare" "github.com/davecgh/go-spew/spew" ) diff --git a/priority_queue/priority_queue_test.go b/priority_queue/priority_queue_test.go index 56c02ad..1f753ee 100644 --- a/priority_queue/priority_queue_test.go +++ b/priority_queue/priority_queue_test.go @@ -5,7 +5,7 @@ import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestQueuePush(t *testing.T) { diff --git a/priority_queue/vbt.go b/priority_queue/vbt.go index f250879..6ed7209 100644 --- a/priority_queue/vbt.go +++ b/priority_queue/vbt.go @@ -3,7 +3,7 @@ package pqueue import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) type Node struct { diff --git a/priority_queue/vbt_test.go b/priority_queue/vbt_test.go index 970f5f2..ea9080d 100644 --- a/priority_queue/vbt_test.go +++ b/priority_queue/vbt_test.go @@ -7,7 +7,7 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" "github.com/davecgh/go-spew/spew" ) diff --git a/priority_queuekey/iterator.go b/priority_queuekey/iterator.go index 94a3215..d6cdb55 100644 --- a/priority_queuekey/iterator.go +++ b/priority_queuekey/iterator.go @@ -1,7 +1,7 @@ package pqueuekey import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/priority_queuekey/priority_queuekey.go b/priority_queuekey/priority_queuekey.go index 41851f2..3fd2511 100644 --- a/priority_queuekey/priority_queuekey.go +++ b/priority_queuekey/priority_queuekey.go @@ -1,7 +1,8 @@ package pqueuekey import ( - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/priority_queuekey/priority_queuekey_test.go b/priority_queuekey/priority_queuekey_test.go index f26c10d..4132cef 100644 --- a/priority_queuekey/priority_queuekey_test.go +++ b/priority_queuekey/priority_queuekey_test.go @@ -4,7 +4,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/priority_queuekey/vbt_test.go b/priority_queuekey/vbt_test.go index a1bdcda..2cf520f 100644 --- a/priority_queuekey/vbt_test.go +++ b/priority_queuekey/vbt_test.go @@ -7,7 +7,7 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" "github.com/davecgh/go-spew/spew" ) diff --git a/priority_queuekey/vbtkey.go b/priority_queuekey/vbtkey.go index 42b3f43..faf4217 100644 --- a/priority_queuekey/vbtkey.go +++ b/priority_queuekey/vbtkey.go @@ -3,7 +3,7 @@ package pqueuekey import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) type Node struct { diff --git a/set/treeset/treeset.go b/set/treeset/treeset.go index b489ac8..acd3a09 100644 --- a/set/treeset/treeset.go +++ b/set/treeset/treeset.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree/avldup" + "focus/compare" + "focus/tree/avldup" ) // TreeSet diff --git a/set/treeset/treeset_test.go b/set/treeset/treeset_test.go index 0bf5312..64f8011 100644 --- a/set/treeset/treeset_test.go +++ b/set/treeset/treeset_test.go @@ -6,8 +6,8 @@ import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree/avldup" + "focus/compare" + "focus/tree/avldup" ) func TestTreeSet_Add(t *testing.T) { diff --git a/stack/listarraystack/lastack.go b/stack/listarraystack/lastack.go index 74fd347..7e09590 100644 --- a/stack/listarraystack/lastack.go +++ b/stack/listarraystack/lastack.go @@ -1,7 +1,8 @@ package lastack import ( - "github.com/474420502/focus/stack" + "focus/stack" + "github.com/davecgh/go-spew/spew" ) diff --git a/stack/liststack/stack.go b/stack/liststack/stack.go index 3599527..7440bf0 100644 --- a/stack/liststack/stack.go +++ b/stack/liststack/stack.go @@ -1,7 +1,8 @@ package lastack import ( - "github.com/474420502/focus/stack" + "focus/stack" + "github.com/davecgh/go-spew/spew" ) @@ -19,7 +20,6 @@ func assertImplementation() { var _ stack.IStack = (*Stack)(nil) } - func New() *Stack { s := &Stack{} s.size = 0 diff --git a/tree/avl/avl.go b/tree/avl/avl.go index 56fadcc..ff044a1 100644 --- a/tree/avl/avl.go +++ b/tree/avl/avl.go @@ -3,8 +3,8 @@ package avl import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/avl/avl_test.go b/tree/avl/avl_test.go index e86abed..6e7fece 100644 --- a/tree/avl/avl_test.go +++ b/tree/avl/avl_test.go @@ -7,7 +7,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/tree/avl/iterator.go b/tree/avl/iterator.go index 41f832c..d8b2e40 100644 --- a/tree/avl/iterator.go +++ b/tree/avl/iterator.go @@ -1,7 +1,7 @@ package avl import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/avl/iterator_test.go b/tree/avl/iterator_test.go index a6f96a3..d7aa4a3 100644 --- a/tree/avl/iterator_test.go +++ b/tree/avl/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/avldup/avldup.go b/tree/avldup/avldup.go index e913a6d..aaf6fb7 100644 --- a/tree/avldup/avldup.go +++ b/tree/avldup/avldup.go @@ -3,8 +3,8 @@ package avldup import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/avldup/avldup_test.go b/tree/avldup/avldup_test.go index e4651fb..5a432c9 100644 --- a/tree/avldup/avldup_test.go +++ b/tree/avldup/avldup_test.go @@ -7,7 +7,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/tree/avldup/iterator.go b/tree/avldup/iterator.go index 864fae2..ce4f7a4 100644 --- a/tree/avldup/iterator.go +++ b/tree/avldup/iterator.go @@ -1,7 +1,7 @@ package avldup import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/avldup/iterator_test.go b/tree/avldup/iterator_test.go index 10352d0..3526b10 100644 --- a/tree/avldup/iterator_test.go +++ b/tree/avldup/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/avlkey/avlkey.go b/tree/avlkey/avlkey.go index a6f164b..2220262 100644 --- a/tree/avlkey/avlkey.go +++ b/tree/avlkey/avlkey.go @@ -3,8 +3,8 @@ package avlkey import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/avlkey/avlkey_test.go b/tree/avlkey/avlkey_test.go index 013b3b4..1fe552a 100644 --- a/tree/avlkey/avlkey_test.go +++ b/tree/avlkey/avlkey_test.go @@ -7,7 +7,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/tree/avlkey/iterator.go b/tree/avlkey/iterator.go index b74ba8d..d0c56fa 100644 --- a/tree/avlkey/iterator.go +++ b/tree/avlkey/iterator.go @@ -1,7 +1,7 @@ package avlkey import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/avlkey/iterator_test.go b/tree/avlkey/iterator_test.go index 61ecd2d..282e7ca 100644 --- a/tree/avlkey/iterator_test.go +++ b/tree/avlkey/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/avlkeydup/avlkeydup.go b/tree/avlkeydup/avlkeydup.go index ddd2dbc..10ba3f0 100644 --- a/tree/avlkeydup/avlkeydup.go +++ b/tree/avlkeydup/avlkeydup.go @@ -3,8 +3,8 @@ package avlkeydup import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/avlkeydup/avlkeydup_test.go b/tree/avlkeydup/avlkeydup_test.go index 13dee70..ebbfd80 100644 --- a/tree/avlkeydup/avlkeydup_test.go +++ b/tree/avlkeydup/avlkeydup_test.go @@ -7,7 +7,8 @@ import ( "log" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/davecgh/go-spew/spew" ) diff --git a/tree/avlkeydup/iterator.go b/tree/avlkeydup/iterator.go index c7b054c..701e01a 100644 --- a/tree/avlkeydup/iterator.go +++ b/tree/avlkeydup/iterator.go @@ -1,7 +1,7 @@ package avlkeydup import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/avlkeydup/iterator_test.go b/tree/avlkeydup/iterator_test.go index e7a22d0..9c60173 100644 --- a/tree/avlkeydup/iterator_test.go +++ b/tree/avlkeydup/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/heap/heap.go b/tree/heap/heap.go index 2b4cca6..9856164 100644 --- a/tree/heap/heap.go +++ b/tree/heap/heap.go @@ -1,7 +1,7 @@ package heap import ( - "github.com/474420502/focus/compare" + "focus/compare" ) type Tree struct { diff --git a/tree/heap/heap_test.go b/tree/heap/heap_test.go index ab4251d..d550d21 100644 --- a/tree/heap/heap_test.go +++ b/tree/heap/heap_test.go @@ -4,7 +4,8 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" + "github.com/Pallinder/go-randomdata" ) diff --git a/tree/lsv/diterator.go b/tree/lsv/diterator.go index 9415429..7ed5f66 100644 --- a/tree/lsv/diterator.go +++ b/tree/lsv/diterator.go @@ -1,7 +1,7 @@ package lsv import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/vbt/iterator.go b/tree/vbt/iterator.go index 8a38ac6..11659d6 100644 --- a/tree/vbt/iterator.go +++ b/tree/vbt/iterator.go @@ -1,7 +1,7 @@ package vbt import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/vbt/iterator_test.go b/tree/vbt/iterator_test.go index b15a3f6..ee1d8fb 100644 --- a/tree/vbt/iterator_test.go +++ b/tree/vbt/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/vbt/vbt.go b/tree/vbt/vbt.go index c574d53..df80f91 100644 --- a/tree/vbt/vbt.go +++ b/tree/vbt/vbt.go @@ -3,8 +3,8 @@ package vbt import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/vbt/vbt_test.go b/tree/vbt/vbt_test.go index bfb4efb..ac2946b 100644 --- a/tree/vbt/vbt_test.go +++ b/tree/vbt/vbt_test.go @@ -11,7 +11,7 @@ import ( "github.com/Pallinder/go-randomdata" "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) func loadTestData() []int { diff --git a/tree/vbtdup/iterator.go b/tree/vbtdup/iterator.go index 3e09f89..0eeb2ac 100644 --- a/tree/vbtdup/iterator.go +++ b/tree/vbtdup/iterator.go @@ -1,7 +1,7 @@ package vbtdup import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/vbtdup/iterator_test.go b/tree/vbtdup/iterator_test.go index b69f267..70e1f6a 100644 --- a/tree/vbtdup/iterator_test.go +++ b/tree/vbtdup/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/vbtdup/vbtdup.go b/tree/vbtdup/vbtdup.go index 3c75421..fa7fe6a 100644 --- a/tree/vbtdup/vbtdup.go +++ b/tree/vbtdup/vbtdup.go @@ -3,8 +3,8 @@ package vbtdup import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/vbtdup/vbtdup_test.go b/tree/vbtdup/vbtdup_test.go index 020f7e7..7456af9 100644 --- a/tree/vbtdup/vbtdup_test.go +++ b/tree/vbtdup/vbtdup_test.go @@ -11,7 +11,7 @@ import ( "github.com/Pallinder/go-randomdata" "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) func loadTestData() []int { diff --git a/tree/vbtkey/iterator.go b/tree/vbtkey/iterator.go index 28f5327..7dc5ccb 100644 --- a/tree/vbtkey/iterator.go +++ b/tree/vbtkey/iterator.go @@ -1,7 +1,7 @@ package vbtkey import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/vbtkey/iterator_test.go b/tree/vbtkey/iterator_test.go index 0535860..556266f 100644 --- a/tree/vbtkey/iterator_test.go +++ b/tree/vbtkey/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/vbtkey/vbtkey.go b/tree/vbtkey/vbtkey.go index 9d5cfcd..d319995 100644 --- a/tree/vbtkey/vbtkey.go +++ b/tree/vbtkey/vbtkey.go @@ -3,8 +3,8 @@ package vbtkey import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/vbtkey/vbtkey_test.go b/tree/vbtkey/vbtkey_test.go index 98977ed..f5cafb2 100644 --- a/tree/vbtkey/vbtkey_test.go +++ b/tree/vbtkey/vbtkey_test.go @@ -11,7 +11,7 @@ import ( "github.com/Pallinder/go-randomdata" "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) func loadTestData() []int { diff --git a/tree/vbtkeydup/iterator.go b/tree/vbtkeydup/iterator.go index 4e0bb10..536c561 100644 --- a/tree/vbtkeydup/iterator.go +++ b/tree/vbtkeydup/iterator.go @@ -1,7 +1,7 @@ package vbtkeydup import ( - lastack "github.com/474420502/focus/stack/listarraystack" + lastack "focus/stack/listarraystack" ) type Iterator struct { diff --git a/tree/vbtkeydup/iterator_test.go b/tree/vbtkeydup/iterator_test.go index 8305263..11e23a0 100644 --- a/tree/vbtkeydup/iterator_test.go +++ b/tree/vbtkeydup/iterator_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/474420502/focus/compare" + "focus/compare" ) func TestIerator(t *testing.T) { diff --git a/tree/vbtkeydup/vbtdupkey.go b/tree/vbtkeydup/vbtdupkey.go index 693114c..51cfbd8 100644 --- a/tree/vbtkeydup/vbtdupkey.go +++ b/tree/vbtkeydup/vbtdupkey.go @@ -3,8 +3,8 @@ package vbtkeydup import ( "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" - "github.com/474420502/focus/tree" + "focus/compare" + "focus/tree" ) type Node struct { diff --git a/tree/vbtkeydup/vbtdupkey_test.go b/tree/vbtkeydup/vbtdupkey_test.go index aea219d..9b1a86c 100644 --- a/tree/vbtkeydup/vbtdupkey_test.go +++ b/tree/vbtkeydup/vbtdupkey_test.go @@ -11,7 +11,7 @@ import ( "github.com/Pallinder/go-randomdata" "github.com/davecgh/go-spew/spew" - "github.com/474420502/focus/compare" + "focus/compare" ) func loadTestData() []int {