scanner

package
v0.0.0-...-1ac2cc1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package scanner GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(ctx context.Context, rows *sql.Rows, v interface{}) error

Types

type ScanIterator

type ScanIterator interface {
	// New a ptr value for scan
	New() any
	// Next For receive scanned value
	Next(v any) error
}

func ScanIteratorFor

func ScanIteratorFor(v any) (ScanIterator, error)

type SingleScanIterator

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

func (*SingleScanIterator) MustHasRecord

func (s *SingleScanIterator) MustHasRecord() bool

func (*SingleScanIterator) New

func (s *SingleScanIterator) New() any

func (*SingleScanIterator) Next

func (s *SingleScanIterator) Next(v any) error

type SliceScanIterator

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

func (*SliceScanIterator) New

func (s *SliceScanIterator) New() any

func (*SliceScanIterator) Next

func (s *SliceScanIterator) Next(v any) error

Directories

Path Synopsis
Package nullable GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package nullable GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

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