utils

package
v0.0.0-...-81272bc Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVariables

func GetVariables(in1, in2 string) string

GetVariables compare two strings and return a new one with "XXXXXX" in variabled positions

Types

type Series

type Series []int

Series another one using an int[]

func SplitString

func SplitString(s, sep string) (map[int]string, Series)

SplitString split string in a map, keeping order in map's index

func (Series) Len

func (s Series) Len() int

Methods required by sort.Interface.

func (Series) Less

func (s Series) Less(i, j int) bool

func (Series) String

func (s Series) String() string

Method for printing - sorts the elements before printing.

func (Series) Swap

func (s Series) Swap(i, j int)

Jump to

Keyboard shortcuts

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