Sign in
go
/
website
/
2b642b0b5543555fdae9e32487b867602a0f9d33
/
.
/
_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))
}