dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
411 stars 63 forks source link

Please enable issues #16

Closed mvrhov closed 5 years ago

mvrhov commented 5 years ago

As issues are not enabled I'm going to abuse this one for an issue.

err = os.Rename(tmpFile.Name(), outputName) doesn't work when tmp directory is on different partition.. Such as in my case.

So the proper way of "moving" the generated fiel to the final destination is by copying it.

codecov-io commented 5 years ago

Codecov Report

Merging #16 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   63.14%   63.14%           
=======================================
  Files           3        3           
  Lines         407      407           
=======================================
  Hits          257      257           
  Misses        139      139           
  Partials       11       11

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 1cbec6c...3b850c8. Read the comment docs.

dmarkham commented 5 years ago

Sorry will enable!

dmarkham commented 5 years ago

Ok done thank you