func GetUser(stmt *sql.Stmt, device string) (string, error) {
	var result string
	err := stmt.QueryRow(device).Scan(&result)
	if err != nil {
		return "", err
	}
	return result, nil
}
// GetUser returns the user for a given device.
GetUser returns the user for a given device.
// GetUser returns the user for a given device .
func GetUser(stmt *sql.Stmt, device string) (string, error) {
	var result string
	err := stmt.QueryRow(device).Scan(&result)
	if err != nil {
		return "", err
	}
	return result, nil
}
func GetUser ( stmt * sql . Stmt , device string ) ( string , error ) { var result string err := stmt . QueryRow ( device ) . Scan ( & result ) if err != nil { return " " , err } return result , nil }
GetUser returns the user for a given device.
GetUser returns the user for a given device .