change: update docs

This commit is contained in:
debugtalk
2022-01-07 10:12:35 +08:00
parent 94b049a46b
commit 1e2d358e59
5 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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()