largecode

package
v0.0.0-...-43d03be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 0 Imported by: 2

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	// contains filtered or unexported fields
}

List stores the elements

func (*List) Add

func (l *List) Add(item interface{})

Add adds an element to the list

func (*List) Get

func (l *List) Get(index int) interface{}

Get gets an element to the list

func (*List) Len

func (l *List) Len() int

Len returns the number of elements in the list

func (*List) Remove

func (l *List) Remove(index int)

Remove an element from the list

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL