jonas-p / go-shp

Go library for reading and writing ESRI Shapefiles. Pure Golang implementation based on the ESRI Shapefile technical description.
MIT License
258 stars 68 forks source link

Check for errors while reading header #37

Closed peterstace closed 5 years ago

peterstace commented 5 years ago

This change uses the errReader wrapper while reading the shapefile header. This is consistent with the way that the header is read for the sequential reader.

codecov-io commented 5 years ago

Codecov Report

Merging #37 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   60.04%   60.09%   +0.04%     
==========================================
  Files           7        7              
  Lines         801      802       +1     
==========================================
+ Hits          481      482       +1     
  Misses        264      264              
  Partials       56       56
Impacted Files Coverage Δ
reader.go 61.36% <100%> (+0.29%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c721ed4...894659c. Read the comment docs.

fawick commented 5 years ago

Thank you!