database/sql.Row.Scan (method)
32 uses
database/sql (current package)
sql.go#L3206: func (r *Row) Scan(dest ...interface{}) error {
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L63: if err := instance.QueryRow(query).Scan(&databaseName); err != nil {
postgres.go#L75: if err := instance.QueryRow(query).Scan(&schemaName); err != nil {
postgres.go#L283: err = p.conn.QueryRowContext(context.Background(), query).Scan(&version, &dirty)
golang.org/x/pkgsite/internal/postgres
details.go#L118: err = db.db.QueryRow(ctx, query, pkgPath).Scan(&n)
details.go#L149: mi, err := scanModuleInfo(row.Scan)
insert_module.go#L200: `).Scan(&status); err {
insert_module.go#L254: ).Scan(&moduleID)
insert_module.go#L652: `, modulePath, lmv.GoodVersion).Scan(&x); err {
insert_module.go#L863: err = tx.QueryRow(ctx, `SELECT 1 FROM modules WHERE module_path=$1 LIMIT 1`, modulePath).Scan(&x)
path.go#L92: path).Scan(&id)
path.go#L96: path).Scan(&id)
path.go#L158: path).Scan(&id)
postgres.go#L104: `).Scan(&ts)
test_helper.go#L331: err := row.Scan(&modulePath, &version)
unit.go#L97: err = db.db.QueryRow(ctx, q, args...).Scan(
unit.go#L232: err = db.db.QueryRow(ctx, q, args...).Scan(&modulePath, &latestVersion)
unit.go#L304: err = db.db.QueryRow(ctx, query, fullPath, modulePath, resolvedVersion).Scan(&unitID)
unit.go#L510: err = db.db.QueryRow(ctx, query, um.Path, unitID, goos, goarch).Scan(
unit.go#L647: AND m.module_path=p.path`, modulePath, resolvedVersion).Scan(&readme.Filepath, &readme.Contents)
version.go#L268: switch err := row.Scan(&path); err {
version.go#L302: `, modulePath).Scan(&latestGoodVersion)
version.go#L318: `, unitPath, modulePath, latestGoodVersion).Scan(&x)
version.go#L427: modulePath).Scan(&id, &raw, &cooked, &good, &goModBytes, &status)
version.go#L521: modulePath).Scan(&id, &curStatus)
version_map.go#L27: vm.ModulePath, vm.ResolvedVersion).Scan(&moduleID); err != nil && err != sql.ErrNoRows {
version_map.go#L84: err = db.db.QueryRow(ctx, q, args...).Scan(
versionstate.go#L220: switch err := row.Scan(&ts); err {
versionstate.go#L337: v, err := scanModuleVersionState(row.Scan)
versionstate.go#L402: err = db.db.QueryRow(ctx, query, pkgPath, modulePath, resolvedVersion).Scan(
versionstate.go#L476: `, modulePath, version).Scan(&hasP)
versionstate.go#L494: `, modulePath, version).Scan(&has)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |