You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sf_a0in1out.xo.go
    path of file: ./repos/xo/_examples/a_bit_of_everything/postgres
    
    the code of the file until where you have to start completion: package postgres

// Code generated by xo. DO NOT EDIT.

import (
	"context"
)

// A0I
    
func A0In1Out(ctx context.Context, db DB) (int, error) {
	// call public.a_0_in_1_out
	const sqlstr = `SELECT * FROM public.a_0_in_1_out()`
	// run
	var aReturn int
	logf(sqlstr)
	if err := db.QueryRowContext(ctx, sqlstr).Scan(&aReturn); err != nil {
		return 0, logerror(err)
	}
	return aReturn, nil
}