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: user_auth_query.go
    path of file: ./repos/tania-core/backend/src/user/query/sqlite
    
    the code of the file until where you have to start completion: package sqlite

import (
	"database/sql"
	"errors"
	"time"

	"github.com/gofrs/uuid"
	"github.com/usetania/tania-core/src/user/query"
	"github.com/usetania/tania-core/src/user/storage"
)

type UserAuthQuerySqlite struct {
	DB *sql.DB
}

func NewUserAuthQuerySqlite(db *sql.DB) query.UserAuth {
	return UserAuthQuerySqlite{DB: db}
}

type userAuthResult struct {
	UserUID      string
	AccessToken  string
	TokenExpir
    
func (s UserAuthQuerySqlite) FindByUserID(uid uuid.UUID) <-chan query.Result {
	result := make(chan query.Result)

	go func() {
		userAuth := storage.UserAuth{}
		rowsData := userAuthResult{}

		err := s.DB.QueryRow(`SELECT USER_UID, ACCESS_TOKEN, TOKEN_EXPIRES, CREATED_DATE, LAST_UPDATED
			FROM USER_AUTH WHERE USER_UID = ?`, uid).Scan(
			&rowsData.UserUID,
			&rowsData.AccessToken,
			&rowsData.TokenExpires,
			&rowsData.CreatedDate,
			&rowsData.LastUpdated,
		)

		if err != nil && !errors.Is(err, sql.ErrNoRows) {
			result <- query.Result{Error: err}
		}

		if errors.Is(err, sql.ErrNoRows) {
			result <- query.Result{Result: userAuth}
		}

		userUID, err := uuid.FromString(rowsData.UserUID)
		if err != nil {
			result <- query.Result{Error: err}
		}

		createdDate, err := time.Parse(time.RFC3339, rowsData.CreatedDate)
		if err != nil {
			result <- query.Result{Error: err}
		}

		lastUpdated, err := time.Parse(time.RFC3339, rowsData.LastUpdated)
		if err != nil {
			result <- query.Result{Error: err}
		}

		userAuth = storage.UserAuth{
			UserUID:      userUID,
			AccessToken:  rowsData.AccessToken,
			TokenExpires: rowsData.TokenExpires,
			CreatedDate:  createdDate,
			LastUpdated:  lastUpdated,
		}

		result <- query.Result{Result: userAuth}
		close(result)
	}()

	return result
}