Sign in
go
/
website
/
97c56edbf39ac4976aad3862fbd48c2aaa989a9a
/
.
/
_content
/
tour
/
methods
/
exercise-errors.go
blob: dcd3bd03ebb29926b8da1e7bd60d4eebec4549a6 [
file
] [
log
] [
blame
]
//go: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))
}