Discover Packages
github.com/hneemann/yagi
example
wrapper
largecode
package
Version:
v0.0.0-...-43d03be
Opens a new window with list of versions in this module.
Published: Aug 7, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Imagine this is a large codebase dealing with ITEMS
and you need a lot of concrete types and you find
it to expensive to generate a lot of typed copies
of all the code in this file.
List stores the elements
func (l *List ) Add(item interface{})
Add adds an element to the list
func (l *List ) Get(index int ) interface{}
Get gets an element to the list
Len returns the number of elements in the list
Remove an element from the list
Source Files
¶
Click to show internal directories.
Click to hide internal directories.