tkrajina / go-elevations

SRTM parser for golang
Apache License 2.0
20 stars 5 forks source link

Code doesn't run- missing client #1

Closed lumin8 closed 5 years ago

lumin8 commented 5 years ago

Cool library, but unfortunately doesn't seem to run as stated in README.md (called example.go), here are the errors


./example.go:10:39: not enough arguments in call to geoelevations.NewSrtm
    have ()
    want (*http.Client)
./example.go:14:40: not enough arguments in call to srtm.GetElevation
    have (number, number)
    want (*http.Client, float64, float64)```
tkrajina commented 5 years ago

You are right, thanks.

Fixed now.