Skip to content

Generate helper for scanning from row #168

@AlekSi

Description

@AlekSi

Generate method

func (s *Struct) Scan(row *sql.Row) error { }

It should use column names.

How to deal with extra or missing columns is an open question. Return special error type? Accept a slice of column names as the last argument?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions