File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ module github.com/go-perf/go-perftuner
22
33go 1.10
44
5- require github.com/cristalhq/acmd v0.8 .0
5+ require github.com/cristalhq/acmd v0.11 .0
Original file line number Diff line number Diff line change 1- github.com/cristalhq/acmd v0.8 .0 h1:0NFc0ixjHMJ1kJyoBZoklcSgw4PGBpD6XRuMv733xEg =
2- github.com/cristalhq/acmd v0.8 .0 /go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ =
1+ github.com/cristalhq/acmd v0.11 .0 h1:49ywYIoZb91TQgiqhaCVGHkKuH4yofsCkpllVW1Wan8 =
2+ github.com/cristalhq/acmd v0.11 .0 /go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ =
Original file line number Diff line number Diff line change @@ -36,23 +36,23 @@ var cmds = []acmd.Command{
3636 Name : "almostInlined" ,
3737 Alias : "inl" ,
3838 Description : "find functions that cross inlining threshold just barely" ,
39- Do : func (_ context.Context , _ []string ) error {
39+ ExecFunc : func (_ context.Context , _ []string ) error {
4040 return run (& almostInlinedRunner {})
4141 },
4242 },
4343 {
4444 Name : "escapedVariables" ,
4545 Alias : "esc" ,
4646 Description : "find variables that are escaped to the heap" ,
47- Do : func (_ context.Context , _ []string ) error {
47+ ExecFunc : func (_ context.Context , _ []string ) error {
4848 return run (& escapeAnalysisRunner {})
4949 },
5050 },
5151 {
5252 Name : "boundChecks" ,
5353 Alias : "bce" ,
5454 Description : "find slice/array that has bound check" ,
55- Do : func (_ context.Context , _ []string ) error {
55+ ExecFunc : func (_ context.Context , _ []string ) error {
5656 return run (& boundCheckRunner {})
5757 },
5858 },
You can’t perform that action at this time.
0 commit comments