fix: typo

change: do not add console output by default

feat: add GA for docs

refactor: move builtin to internal

refactor: relocate sentry sdk

feat: report events with ga

change: use http client session

fix: report GA events

change: sentry
This commit is contained in:
debugtalk
2021-11-26 15:39:17 +08:00
parent ae7710e9d0
commit 7fd26395ed
30 changed files with 286 additions and 42 deletions
+2 -4
View File
@@ -1,15 +1,13 @@
package main
import (
"time"
"github.com/getsentry/sentry-go"
"github.com/httprunner/hrp/hrp/cmd"
"github.com/httprunner/hrp/internal/sentry"
)
func main() {
// Flush buffered events before the program terminates.
defer sentry.Flush(2 * time.Second)
defer sentry.Flush()
cmd.Execute()
}