mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
change: update docs
This commit is contained in:
@@ -32,4 +32,4 @@ Copyright 2021 debugtalk
|
||||
* [hrp har2case](hrp_har2case.md) - Convert HAR to json/yaml testcase files
|
||||
* [hrp run](hrp_run.md) - run API test
|
||||
|
||||
###### Auto generated by spf13/cobra on 6-Jan-2022
|
||||
###### Auto generated by spf13/cobra on 7-Jan-2022
|
||||
|
||||
@@ -38,4 +38,4 @@ hrp boom [flags]
|
||||
|
||||
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
|
||||
|
||||
###### Auto generated by spf13/cobra on 6-Jan-2022
|
||||
###### Auto generated by spf13/cobra on 7-Jan-2022
|
||||
|
||||
@@ -23,4 +23,4 @@ hrp har2case harPath... [flags]
|
||||
|
||||
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
|
||||
|
||||
###### Auto generated by spf13/cobra on 6-Jan-2022
|
||||
###### Auto generated by spf13/cobra on 7-Jan-2022
|
||||
|
||||
@@ -31,4 +31,4 @@ hrp run path... [flags]
|
||||
|
||||
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
|
||||
|
||||
###### Auto generated by spf13/cobra on 6-Jan-2022
|
||||
###### Auto generated by spf13/cobra on 7-Jan-2022
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package ga
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/denisbrodbeck/machineid"
|
||||
@@ -11,6 +12,7 @@ var gaClient *GAClient
|
||||
|
||||
func init() {
|
||||
trackingID := os.Getenv("GA_TRACKING_ID") // Tracking ID for Google Analytics
|
||||
fmt.Println("GA_TRACKING_ID:", trackingID)
|
||||
clientID, err := machineid.ProtectedID("hrp")
|
||||
if err != nil {
|
||||
nodeUUID, _ := uuid.NewUUID()
|
||||
|
||||
Reference in New Issue
Block a user