dmltype

package
v0.0.0-...-b553abb Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dmltype provides additional types for database values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

type CSV []string

CSV represents an unmerged slice of strings. You can use package slices.String for further modifications of this slice type. It also implements Text Marshalers for usage in dml.ColumnMap.Text.

func (CSV) Bytes

func (l CSV) Bytes() []byte

func (CSV) MarshalText

func (l CSV) MarshalText() (text []byte, err error)

func (*CSV) Scan

func (l *CSV) Scan(src interface{}) error

Scan satisfies the sql.Scanner interface for CSV.

func (*CSV) UnmarshalText

func (l *CSV) UnmarshalText(text []byte) error

func (CSV) Value

func (l CSV) Value() (driver.Value, error)

Value satisfies the driver.Valuer interface for CSV.

Jump to

Keyboard shortcuts

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