mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
add profiling lines
This commit is contained in:
parent
bdb8bf3ac4
commit
acd7d8d8ec
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -12,6 +12,8 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
// "github.com/pkg/profile"
|
||||
// defer profile.Start(profile.CPUProfile).Stop()
|
||||
if err := cli.Run(); err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue