Исходники и презентации
This commit is contained in:
13
lessons/errors/errors_ignoring/main.go
Normal file
13
lessons/errors/errors_ignoring/main.go
Normal file
@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import "errors"
|
||||
|
||||
// Need to show solution
|
||||
|
||||
func process() error {
|
||||
return errors.New("error")
|
||||
}
|
||||
|
||||
func main() {
|
||||
process()
|
||||
}
|
||||
Reference in New Issue
Block a user