discard

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

discard

-- import "gopkg.in/Clever/optimus.v3/sinks/discard"

Usage

var Discard = func(t optimus.Table) error {
	for _ = range t.Rows() {
	}
	return t.Err()
}

Discard is a Sink that discards all the Rows in the Table and returns any error.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Discard = func(t optimus.Table) error {
	for range t.Rows() {
	}
	return t.Err()
}

Discard is a Sink that discards all the Rows in the Table and returns any error.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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