The highest tagged major version is
v3.
package
Version:
v2.1.51
Opens a new window with list of versions in this module.
Published: Aug 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Stack[V any] interface {
Push(ele V)
Pop() (V, bool)
Size() int
}
Stack 堆栈(后进先出)
NewStackFrom
Deprecated: 有点耗性能,看 GoFrame 后续会不会支持泛型.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.