Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
oops: 02
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Apr 29, 2024
1 parent 49a86a0 commit 644b8ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "fmt"

func main() {
fmt.Println("Hello")
foo("a")

Check failure on line 7 in main.go

View workflow job for this annotation

GitHub Actions / dump_contexts_to_log (stable, ubuntu-latest)

Error return value is not checked (errcheck)
}

func foo(a string) error {
Expand Down

0 comments on commit 644b8ce

Please sign in to comment.