h

package
v0.0.0-...-ad4f0ff Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sink

func Sink(s string)

Sink is a sink

func Source

func Source() string

Source returns a tainted string

Types

type LinkedList

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

LinkedList is a simple type which provides some operations upon a linked list

func NewList

func NewList(s string) *LinkedList

NewList creates a new linked list with s as first element.

func (*LinkedList) AddData

func (l *LinkedList) AddData(s string)

AddData adds a new element to the end of l.

func (*LinkedList) GetData

func (l *LinkedList) GetData(i int) string

GetData returns the string in position i or an empty string if i does not exist

Jump to

Keyboard shortcuts

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