Sign in
go
/
website
/
07287109038cbabce9bbb9e132edc3434768bd45
/
.
/
_content
/
tour
/
methods
/
exercise-errors.go
blob: 22e933b2f4b3f3d8ddd5bfeb878addaf226d703a [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"fmt"
)
func Sqrt(x float64) (float64, error) {
return 0, nil
}
func main() {
fmt.Println(Sqrt(2))
fmt.Println(Sqrt(-2))
}