Documentation
¶
Overview ¶
Package insertremove contains the "Insert and Remove" exercise implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InserterRemover ¶
type InserterRemover interface { Insert(n int) error Remove() // only for testing purposes Values() []int }
declare an interface to ease testing ang benchmarking
type SliceImpl ¶
type SliceImpl struct {
// contains filtered or unexported fields
}
Slice implementation
func NewSliceImpl ¶
func NewSliceImpl() *SliceImpl
Click to show internal directories.
Click to hide internal directories.