更换package结构
This commit is contained in:
parent
1eb9512a5f
commit
f64c65069b
5
go.mod
5
go.mod
|
@ -1,8 +1,9 @@
|
||||||
module github.com/474420502/focus
|
module focus
|
||||||
|
|
||||||
go 1.12
|
go 1.14
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
github.com/474420502/focus v0.8.1 // indirect
|
||||||
github.com/Pallinder/go-randomdata v1.1.0
|
github.com/Pallinder/go-randomdata v1.1.0
|
||||||
github.com/davecgh/go-spew v1.1.1
|
github.com/davecgh/go-spew v1.1.1
|
||||||
)
|
)
|
||||||
|
|
2
go.sum
2
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 h1:gUubB1IEUliFmzjqjhf+bgkg1o6uoFIkRsP3VrhEcx8=
|
||||||
github.com/Pallinder/go-randomdata v1.1.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y=
|
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=
|
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||||
|
|
|
@ -3,7 +3,8 @@ package arraylist
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/474420502/focus/list"
|
"focus/list"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@ package linkedlist
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/474420502/focus/list"
|
"focus/list"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ package plist
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/list"
|
"focus/list"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
package linkedhashmap
|
package linkedhashmap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
linkedlist "github.com/474420502/focus/list/linked_list"
|
linkedlist "focus/list/linked_list"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree/avlkeydup"
|
"focus/tree/avlkeydup"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TreeMap struct {
|
type TreeMap struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueue
|
package pqueue
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueue
|
package pqueue
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestQueuePush(t *testing.T) {
|
func TestQueuePush(t *testing.T) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package pqueue
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package pqueuekey
|
package pqueuekey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
package pqueuekey
|
package pqueuekey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package pqueuekey
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree/avldup"
|
"focus/tree/avldup"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TreeSet
|
// TreeSet
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree/avldup"
|
"focus/tree/avldup"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTreeSet_Add(t *testing.T) {
|
func TestTreeSet_Add(t *testing.T) {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
package lastack
|
package lastack
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/474420502/focus/stack"
|
"focus/stack"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
package lastack
|
package lastack
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/474420502/focus/stack"
|
"focus/stack"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,7 +20,6 @@ func assertImplementation() {
|
||||||
var _ stack.IStack = (*Stack)(nil)
|
var _ stack.IStack = (*Stack)(nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func New() *Stack {
|
func New() *Stack {
|
||||||
s := &Stack{}
|
s := &Stack{}
|
||||||
s.size = 0
|
s.size = 0
|
||||||
|
|
|
@ -3,8 +3,8 @@ package avl
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -7,7 +7,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avl
|
package avl
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package avldup
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -7,7 +7,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avldup
|
package avldup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package avlkey
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -7,7 +7,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkey
|
package avlkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package avlkeydup
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -7,7 +7,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package avlkeydup
|
package avlkeydup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package heap
|
package heap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Tree struct {
|
type Tree struct {
|
||||||
|
|
|
@ -4,7 +4,8 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
|
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package lsv
|
package lsv
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbt
|
package vbt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package vbt
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadTestData() []int {
|
func loadTestData() []int {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbtdup
|
package vbtdup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package vbtdup
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadTestData() []int {
|
func loadTestData() []int {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbtkey
|
package vbtkey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package vbtkey
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadTestData() []int {
|
func loadTestData() []int {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vbtkeydup
|
package vbtkeydup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
lastack "focus/stack/listarraystack"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Iterator struct {
|
type Iterator struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIerator(t *testing.T) {
|
func TestIerator(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package vbtkeydup
|
||||||
import (
|
import (
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
"github.com/474420502/focus/tree"
|
"focus/tree"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/Pallinder/go-randomdata"
|
"github.com/Pallinder/go-randomdata"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
"github.com/474420502/focus/compare"
|
"focus/compare"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadTestData() []int {
|
func loadTestData() []int {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user