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