Pinglei Guo

Results 198 comments of Pinglei Guo

I should implement logger using `runtime` first, also clean up things like fields before dig into this ...

@halink0803 the merged one is using `runtime` library, not generating line number at compile time like C (so it still has the overhead like most other logging libraries), an example...

put into backlog

The original code is at https://github.com/benchhub/benchhub/tree/master/_legacy/lib/waitforit Also found a interesting one in https://github.com/dyweb/go.ice/issues/56 https://github.com/testcontainers/testcontainers-go/tree/master/wait Might have a dedicated wait package and have `gommon wait` and a dedicated `cmd/waitforit` (or maybe...

This is kind of duplicated w/ benchhub's gotest and gobench framework, though it might be better to have benchhub wraps a grpc interface around gommon's functionalities

See https://github.com/benchhub/benchhub/issues/54

Found one linter from m3db https://github.com/m3db/build-tools/tree/master/linters/importorder

Also there is one checking if specific import is allowed https://github.com/fatih/faillint

Source of goimports https://github.com/golang/tools/blob/master/cmd/goimports/goimports.go