rename package
This commit is contained in:
parent
368447c31d
commit
d718d87cd6
|
@ -1,7 +1,7 @@
|
||||||
package heap
|
package heap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Heap struct {
|
type Heap struct {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package plist
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadTestData() []int {
|
func loadTestData() []int {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueue
|
package pqueue
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package pqueue
|
package pqueue
|
||||||
|
|
||||||
import "474420502.top/eson/structure/compare"
|
import "github.com/474420502/focus/compare"
|
||||||
|
|
||||||
type PriorityQueue struct {
|
type PriorityQueue struct {
|
||||||
queue *vbTree
|
queue *vbTree
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestQueuePush(t *testing.T) {
|
func TestQueuePush(t *testing.T) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueue
|
package pqueue
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/huandu/skiplist"
|
"github.com/huandu/skiplist"
|
||||||
|
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueuekey
|
package pqueuekey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package pqueuekey
|
package pqueuekey
|
||||||
|
|
||||||
import "474420502.top/eson/structure/compare"
|
import "github.com/474420502/focus/compare"
|
||||||
|
|
||||||
type PriorityQueue struct {
|
type PriorityQueue struct {
|
||||||
queue *vbTree
|
queue *vbTree
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestQueuePush(t *testing.T) {
|
func TestQueuePush(t *testing.T) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueuekey
|
package pqueuekey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/huandu/skiplist"
|
"github.com/huandu/skiplist"
|
||||||
|
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"474420502.top/eson/structure/avldup"
|
"github.com/474420502/focus/avldup"
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TreeSet
|
// TreeSet
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avl
|
package avl
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
"github.com/emirpasic/gods/trees/avltree"
|
"github.com/emirpasic/gods/trees/avltree"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avl
|
package avl
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avldup
|
package avldup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
"github.com/emirpasic/gods/trees/avltree"
|
"github.com/emirpasic/gods/trees/avltree"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avldup
|
package avldup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkey
|
package avlkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
"github.com/emirpasic/gods/trees/avltree"
|
"github.com/emirpasic/gods/trees/avltree"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkey
|
package avlkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkeydup
|
package avlkeydup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
"github.com/emirpasic/gods/trees/avltree"
|
"github.com/emirpasic/gods/trees/avltree"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkeydup
|
package avlkeydup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbt
|
package vbt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbt
|
package vbt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/huandu/skiplist"
|
"github.com/huandu/skiplist"
|
||||||
|
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbtkey
|
package vbtkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/lastack"
|
"github.com/474420502/focus/lastack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbtkey
|
package vbtkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"474420502.top/eson/structure/compare"
|
"github.com/474420502/focus/compare"
|
||||||
"github.com/huandu/skiplist"
|
"github.com/huandu/skiplist"
|
||||||
|
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user