fmtext

package
v2.0.0-...-8dcd6a7 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2015 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package fmtext contains extensions to the base Go fmt package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FscanFloat

func FscanFloat(r io.Reader) float64

Scans a 64 bit float from the specified stream. Panics on failure!

func FscanInt

func FscanInt(r io.Reader) int

Scans an integer from the specified stream. Panics on failure!

func FscanLine

func FscanLine(r io.Reader) string

Scans a string until newline or EOF from the specified stream. Panics on failure!

func FscanString

func FscanString(r io.Reader) string

Scans a whitespace delimited string from the specified stream. Panics on failure!

func ScanFloat

func ScanFloat() float64

Scans a 64 bit float from the standard input. Panics on failure!

func ScanInt

func ScanInt() int

Scans an integer from the standard input. Panics on failure!

func ScanLine

func ScanLine() string

Scans a string until newline or EOF from the standard input. Panics on failure!

func ScanString

func ScanString() string

Scans a whitespace delimited string from the standard input. Panics on failure!

Types

This section is empty.

Jump to

Keyboard shortcuts

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