更换package结构
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -7,7 +7,8 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package avl
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -7,7 +7,8 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package avldup
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -7,7 +7,8 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package avlkey
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -7,7 +7,8 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package avlkeydup
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package heap
|
||||
|
||||
import (
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
type Tree struct {
|
||||
|
||||
@@ -4,7 +4,8 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
|
||||
"github.com/Pallinder/go-randomdata"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package lsv
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package vbt
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package vbtdup
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package vbtkey
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package vbtkeydup
|
||||
|
||||
import (
|
||||
lastack "github.com/474420502/focus/stack/listarraystack"
|
||||
lastack "focus/stack/listarraystack"
|
||||
)
|
||||
|
||||
type Iterator struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/474420502/focus/compare"
|
||||
"focus/compare"
|
||||
)
|
||||
|
||||
func TestIerator(t *testing.T) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user