utils

package
v0.0.0-...-dc41c55 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFILETIME

func FromFILETIME(timestamp_utc int64) time.Time

func VisitTableRows

func VisitTableRows(db *sqlite3.DbFile, tableName string, columnNameMappings map[string]string, f func(rowID *int64, row TableRow) error) error

Types

type TableRow

type TableRow struct {
	// contains filtered or unexported fields
}

func (TableRow) BlobOrFallback

func (row TableRow) BlobOrFallback(columnName string, fallback []byte) ([]byte, error)

func (TableRow) Bool

func (row TableRow) Bool(columnName string) (bool, error)

func (TableRow) Int64

func (row TableRow) Int64(columnName string) (int64, error)

func (TableRow) String

func (row TableRow) String(columnName string) (string, error)

func (TableRow) Value

func (row TableRow) Value(columnName string) (interface{}, error)

func (TableRow) ValueOrFallback

func (row TableRow) ValueOrFallback(columnName string, fallback interface{}) interface{}

Jump to

Keyboard shortcuts

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