go-daemon icon indicating copy to clipboard operation
go-daemon copied to clipboard

Simplify code and fix test

Open zhsj opened this issue 4 years ago • 2 comments

These are some clean up, so I just send in one PR. And I add a go.mod file.

zhsj avatar Feb 10 '20 11:02 zhsj

Codecov Report

Merging #65 into master will not change coverage by %. The diff coverage is n/a.

Impacted file tree graph

@@           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.

codecov[bot] avatar Feb 10 '20 11:02 codecov[bot]

I didn't realize go1.3 is still in travis config. So I reverted the code to use unix.Dup2 directly.

zhsj avatar Feb 10 '20 11:02 zhsj