Bump github.com/pkg/profile from 1.5.0 to 1.6.0 (#363)

* Bump github.com/pkg/profile from 1.5.0 to 1.6.0

Bumps [github.com/pkg/profile](https://github.com/pkg/profile) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/pkg/profile/releases)
- [Commits](https://github.com/pkg/profile/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update go modules

* Fix signature

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2021-05-11 12:48:01 +02:00
committed by GitHub
parent 8e3036798b
commit 8c42cb59b0
3 changed files with 5 additions and 4 deletions

View File

@@ -90,9 +90,9 @@ func main() {
case "mem":
defer profile.Start(profile.MemProfile, profilePath).Stop()
case "alloc":
defer profile.Start(profile.MemProfile, profile.MemProfileAllocs(), profilePath).Stop()
defer profile.Start(profile.MemProfileAllocs, profilePath).Stop()
case "heap":
defer profile.Start(profile.MemProfile, profile.MemProfileHeap(), profilePath).Stop()
defer profile.Start(profile.MemProfileHeap, profilePath).Stop()
case "routines":
defer profile.Start(profile.GoroutineProfile, profilePath).Stop()
case "mutex":