Documentation
¶
Index ¶
- func AddCommasRune(instr string) string
- func CreateOrAppendWithBuffer(name string) (*os.File, *bufio.Writer, error)
- func CreateOrAppendWithoutBuffer(name string) (*os.File, error)
- func Floor(real, places float64) float64
- func InsertIntoRuneSlice(slice, insertion []rune, index int) []rune
- func MakeReplaced(instr string) string
- func MakeSubst(instr string) string
- func RandRange(minP, maxP int) int
- func ReadLine(r *bytes.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommasRune ¶
AddCommasRune will use runes to add a comma into a numeric string. Just to see if this works. It does.
func CreateOrAppendWithBuffer ¶
CreateOrAppendWithBuffer This takes a name string and returns a file pointer opened for writing using the bufio routines. Will not truncate or clobber a file.
func CreateOrAppendWithoutBuffer ¶
CreateOrAppendWithoutBuffer This take a name string and returns a simple file pointer, NOT using the bufio routines. Will not truncate or clobber a file.
func Floor ¶
Floor -- To automatically fix the small floating point errors introduced by the conversions. Max value for places is 10.
func InsertIntoRuneSlice ¶
func MakeReplaced ¶
MakeReplaced -- input a string, and uses strings.NewReplacer to '=' -> '+' and ';' -> '*'
func MakeSubst ¶
MakeSubst -- input a string, output a string that substitutes '=' -> '+' and ';' -> '*'
Types ¶
This section is empty.