std

package
v0.0.0-...-f8f9fbc Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Breakpoints = make(map[int]bool)
View Source
var RandFloat = rand.Float64
View Source
var RandInt = rand.Int63
View Source
var RandIntN = rand.Int63n

Functions

func Ceil

func Ceil(i float64) float64

func Charlist2string

func Charlist2string(s *List) string

func Charslice

func Charslice(s string) []string

func Charslice2string

func Charslice2string(s []string) string

func CloseFile

func CloseFile(id int64) string

func CreateFile

func CreateFile(name string) (int64, string)

func Floor

func Floor(i float64) float64

func FormatFloat

func FormatFloat(f float64) string

func FormatInt

func FormatInt(i int64) string

func FormatTime

func FormatTime(i int64) string

func NoOp

func NoOp(discardMe ...interface{})

func OpenFile

func OpenFile(name string) (int64, string)

func ParseFloat

func ParseFloat(s string) (float64, string)

func ParseInt

func ParseInt(s string) (int64, string)

func ParseTime

func ParseTime(s string) (int64, error)

func Prompt

func Prompt(args ...interface{}) string

func ReadFile

func ReadFile(id int64, bytes []byte) (int64, string)

func Runelist2string

func Runelist2string(r *List) string

func Runeslice

func Runeslice(s string) []int64

func Runeslice2string

func Runeslice2string(r []int64) string

func SeekFile

func SeekFile(id int64, offset int64) (int64, string)

func SeekFileEnd

func SeekFileEnd(id int64, offset int64) (int64, string)

func SeekFileStart

func SeekFileStart(id int64, offset int64) (int64, string)

func StrLen

func StrLen(s string) int64

func TimeNow

func TimeNow() int64

func WriteFile

func WriteFile(id int64, bytes []byte) (int64, string)

Types

type List

type List []interface{}

func Charlist

func Charlist(s string) *List

func Runelist

func Runelist(s string) *List

func (*List) Append

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

func (*List) Set

func (l *List) Set(idx int64, item interface{})

func (*List) String

func (s *List) String() string

Jump to

Keyboard shortcuts

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