Skip to content

Commit 00753b7

Browse files
authored
fixes work function
1 parent aaf0a68 commit 00753b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/golang/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/pyroscope-io/pyroscope/pkg/agent/profiler"
77
)
88

9-
func work(int) {
9+
func work(n int) {
1010
// revive:disable:empty-block this is fine because this is a example app, not real production code
1111
for i := 0; i < n; i++ {
1212

0 commit comments

Comments
 (0)