other

package
Version: v0.0.0-...-001ba85 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySlice

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

MySlice is an immutable type and has the following template:

[]string

func NewMySlice

func NewMySlice(s ...string) *MySlice

func NewMySliceLen

func NewMySliceLen(l int) *MySlice

func (*MySlice) Append

func (m *MySlice) Append(v ...string) *MySlice

func (*MySlice) AsImmutable

func (m *MySlice) AsImmutable(v *MySlice) *MySlice

func (*MySlice) AsMutable

func (m *MySlice) AsMutable() *MySlice

func (*MySlice) Get

func (m *MySlice) Get(i int) string

func (*MySlice) IsDeeplyNonMutable

func (s *MySlice) IsDeeplyNonMutable(seen map[interface{}]bool) bool

func (*MySlice) Len

func (m *MySlice) Len() int

func (*MySlice) Mutable

func (m *MySlice) Mutable() bool

func (*MySlice) Range

func (m *MySlice) Range() []string

func (*MySlice) Set

func (m *MySlice) Set(i int, v string) *MySlice

func (*MySlice) WithImmutable

func (m *MySlice) WithImmutable(f func(mi *MySlice)) *MySlice

func (*MySlice) WithMutable

func (m *MySlice) WithMutable(f func(mi *MySlice)) *MySlice

Jump to

Keyboard shortcuts

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