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