go-daemon
go-daemon copied to clipboard
Simplify code and fix test
These are some clean up, so I just send in one PR. And I add a go.mod file.
Codecov Report
Merging #65 into master will not change coverage by
%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #65 +/- ##
=======================================
Coverage 15.89% 15.89%
=======================================
Files 10 10
Lines 258 258
=======================================
Hits 41 41
Misses 212 212
Partials 5 5
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 bf83969...d7aadc6. Read the comment docs.
I didn't realize go1.3 is still in travis config. So I reverted the code to use unix.Dup2 directly.