custom

package
v0.2.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZeroIsAlmostZero bool

Functions

func AsFloat64

func AsFloat64(v interface{}) float64

func AsInt32

func AsInt32(v interface{}) int32

func AsInt64

func AsInt64(v interface{}) int64

func AsString

func AsString(v interface{}) string

func AsTime

func AsTime(v interface{}) time.Time

func NumbersFromStrings

func NumbersFromStrings(s *[]string) *[]goracle.Number

Types

type Date

type Date string

func AsDate

func AsDate(v interface{}) Date

func NewDate

func NewDate(t time.Time) Date

func (Date) Get

func (d Date) Get() (od time.Time, err error)

func (*Date) Scan

func (d *Date) Scan(src interface{}) error

Scan assigns a value from a database driver.

func (*Date) Set

func (d *Date) Set(t time.Time)

func (Date) Value

func (d Date) Value() (driver.Value, error)

Value returns a driver Value.

type Lob

type Lob struct {
	*goracle.Lob
	// contains filtered or unexported fields
}

func (*Lob) Marshal

func (L *Lob) Marshal() ([]byte, error)

func (*Lob) MarshalTo

func (L *Lob) MarshalTo(p []byte) (int, error)

func (*Lob) Scan

func (L *Lob) Scan(src interface{}) error

Scan assigns a value from a database driver.

func (*Lob) Size

func (L *Lob) Size() int

func (*Lob) Unmarshal

func (L *Lob) Unmarshal(p []byte) error

func (*Lob) Value

func (L *Lob) Value() (driver.Value, error)

Value returns a driver Value.

type Number

type Number goracle.Number

func (Number) Get

func (n Number) Get() goracle.Number

func (*Number) Scan

func (n *Number) Scan(src interface{}) error

Scan assigns a value from a database driver.

func (*Number) Set

func (n *Number) Set(num goracle.Number)

func (Number) Value

func (n Number) Value() (driver.Value, error)

Value returns a driver Value.

Jump to

Keyboard shortcuts

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