hallazzang / read

Convenient wrappers for reading inputs.

Repository from Github https://github.comhallazzang/readRepository from Github https://github.comhallazzang/read

read

Convenient wrappers for reading inputs.

Examples

fmt.Print("input> ")
line, err := read.Line()
if err != nil {
	panic(err)
}
fmt.Println(line)

Usage

Use shortcut functions like read.Int(), read.Line() for simple programs. Use read.New(), which is an alias for read.NewBuffered() for better performance.

About

Convenient wrappers for reading inputs.


Languages

Language:Go 100.0%