mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 17:29:56 +08:00
16 lines
232 B
Go
16 lines
232 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/getsentry/sentry-go"
|
|
"github.com/httprunner/hrp/hrp/cmd"
|
|
)
|
|
|
|
func main() {
|
|
// Flush buffered events before the program terminates.
|
|
defer sentry.Flush(2 * time.Second)
|
|
|
|
cmd.Execute()
|
|
}
|