colval

package
v0.1.65 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBool

func ToBool(cv ColumnValue) *bool

func ToGo

func ToGo(cv ColumnValue) interface{}

Types

type Blob

type Blob []byte

func (Blob) String

func (v Blob) String() string

func (Blob) ToBool

func (v Blob) ToBool() *bool

type ColumnValue

type ColumnValue interface {
	String() string
	ToBool() *bool
}

type Int

type Int int64

func (Int) String

func (v Int) String() string

func (Int) ToBool

func (v Int) ToBool() *bool

type Null

type Null struct{}

func (Null) String

func (v Null) String() string

func (Null) ToBool

func (v Null) ToBool() *bool

type Real

type Real float64

func (Real) String

func (v Real) String() string

func (Real) ToBool

func (v Real) ToBool() *bool

type Text

type Text string

func (Text) String

func (v Text) String() string

func (Text) ToBool

func (v Text) ToBool() *bool

Jump to

Keyboard shortcuts

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