go build -debug-actiongraph=compile.json
jq 'sort_by(.CmdReal) | reverse | .[] | select(.CmdReal != null) | {Time: (.CmdReal / 1000 / 1000 / 1000), Package}' compile.json | less
go build -debug-actiongraph=compile.json
jq 'sort_by(.CmdReal) | reverse | .[] | select(.CmdReal != null) | {Time: (.CmdReal / 1000 / 1000 / 1000), Package}' compile.json | less
There are many paths to register a check. Many of these use different struct types, so to properly validate and convert a check, all of these paths must be reviewed and tested.
Checks fieldCheck or Checks fieldsCheck field| $ go test -bench Something -run Nothing -tags stubpkg ./testjson/internal/good/ | |
| goos: linux | |
| goarch: amd64 | |
| pkg: gotest.tools/gotestsum/testjson/internal/good | |
| cpu: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz | |
| BenchmarkSomething-8 88722897 13.12 ns/op | |
| PASS | |
| ok gotest.tools/gotestsum/testjson/internal/good 1.181s | |
https://github.com/mitchellh/mapstructure
https://github.com/dnephin/demo/blob/master/mapstructure/mapstructure_test.go
| https://github.com/venantius/ultra | |
| https://github.com/weavejester/eftest | |
| https://github.com/lambdaisland/kaocha |
| package logging | |
| import ( | |
| "context" | |
| "github.com/sirupsen/logrus" | |
| ) | |
| type ( | |
| fieldsKey struct{} |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "github.com/dnephin/ppp/foo" | |
| "plugin" | |
| ) | |
| func main() { | |
| fmt.Println("MAIN") |
| #!/usr/bin/env sh | |
| set -eu -o pipefail | |
| git grep -A 1 '\st\.Error' | \ | |
| grep 'return$' -B 2 | \ | |
| cut -f1 | \ | |
| grep -v -- '--' | | |
| sed 's/.$//' | \ | |
| sort | \ | |
| uniq | while read filename; do |
| Developer Certificate of Origin | |
| Version 1.1 | |
| Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | |
| 1 Letterman Drive | |
| Suite D4700 | |
| San Francisco, CA, 94129 | |
| Everyone is permitted to copy and distribute verbatim copies of this | |
| license document, but changing it is not allowed. |