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: 0

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