Skip to content

Commit 63ba116

Browse files
committed
feat: there is no problems
1 parent bf15220 commit 63ba116

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

main.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ func main() {
77
foo("a")
88
}
99

10-
func foo(a string) error {
10+
func foo(a string) bool {
1111
if a == "a" {
12-
return nil
12+
return true
1313
}
1414

15-
return fmt.Errorf("OOPS")
15+
fmt.Println("not a")
16+
17+
return false
1618
}

0 commit comments

Comments
 (0)