Skip to main content
TyperLab
Beta
Home
Learn
Practice
Code Typing
Leaderboard
Progress
EN
RU
Go Typing Practice
Open course
Go / HTTP & Services / Repository Calls
Repository lookup
1 / 1
—
CPM
—
Accuracy
0
Errors
00:00
Time
repository-lookup.go
Start typing to begin
Help
A−
30
A+
Tab ⇥
Enter ↵
Start typing to begin
Start typing to begin user, err := h.repo.GetByEmail(ctx, req.Email) if err != nil { return User{}, f
1
u
s
e
r
,
e
r
r
:
=
h
.
r
e
p
o
.
G
e
t
B
y
E
m
a
i
l
(
c
t
x
,
r
e
q
.
E
m
a
i
l
)
2
i
f
e
r
r
!
=
n
i
l
{
3
r
e
t
u
r
n
U
s
e
r
{
}
,
f
m
t
.
E
r
r
o
r
f
(
"
g
e
t
u
s
e
r
b
y
e
m
a
i
l
:
%
w
"
,
e
r
r
)
4
}
5
6
r
e
t
u
r
n
u
s
e
r
,
n
i
l
Go
0 CPM
0 WPM
—
0 errors
00:00
0 / 139
Previous
1 / 1
Next exercise