thriftrw / thriftrw-go

A Thrift encoding code generator and library for Go
MIT License
100 stars 53 forks source link

Remove all usages of io/ioutil #577

Closed sywhang closed 1 year ago

sywhang commented 1 year ago

io/ioutil package was deprecated and is not supported since Go 1.19. This removes all ioutil pkg usages in thriftrw..

codecov[bot] commented 1 year ago

Codecov Report

Merging #577 (5822484) into dev (de722f0) will not change coverage. The diff coverage is 25.00%.

@@           Coverage Diff           @@
##              dev     #577   +/-   ##
=======================================
  Coverage   68.00%   68.00%           
=======================================
  Files         140      140           
  Lines       23872    23872           
=======================================
  Hits        16233    16233           
  Misses       4578     4578           
  Partials     3061     3061           
Impacted Files Coverage Δ
gen/generate.go 68.62% <0.00%> (ø)
internal/breaktest/repo.go 77.14% <0.00%> (ø)
protocol/binary/stream_reader.go 96.01% <0.00%> (ø)
compile/options.go 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more