更换package结构

This commit is contained in:
2020-03-21 08:43:29 +08:00
parent 1eb9512a5f
commit f64c65069b
57 changed files with 85 additions and 70 deletions

View File

@@ -1,7 +1,8 @@
package lastack
import (
"github.com/474420502/focus/stack"
"focus/stack"
"github.com/davecgh/go-spew/spew"
)

View File

@@ -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