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