Replace godep with dep

This commit is contained in:
Manuel de Brito Fontes 2017-10-06 17:26:14 -03:00
parent 1e7489927c
commit bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions

View file

@ -0,0 +1,26 @@
package proc
import (
. "gopkg.in/check.v1"
"testing"
)
// Hook up gocheck into the "go test" runner.
func Test(t *testing.T) { TestingT(t) }
type MySuite struct{}
var _ = Suite(&MySuite{})
// read everything in the iterator
func consumeIter(pi ProcIter) ([]ProcIdInfo, error) {
infos := []ProcIdInfo{}
for pi.Next() {
info, err := Info(pi)
if err != nil {
return nil, err
}
infos = append(infos, info)
}
return infos, nil
}