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