Skip to content

Commit 2caf5ac

Browse files
committed
added gitignore
1 parent 519602a commit 2caf5ac

File tree

8 files changed

+3
-351
lines changed

8 files changed

+3
-351
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.idea/

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.idea/ltt.iml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/watcherTasks.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.idea/workspace.xml

Lines changed: 0 additions & 278 deletions
This file was deleted.

examples/main.go

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,9 @@ package main
33
import (
44
"context"
55
"encoding/json"
6-
"flag"
7-
"fmt"
86
"github.com/Jahaja/ltt"
97
)
108

11-
func help() {
12-
fmt.Println("Load Testing Tool")
13-
fmt.Println("")
14-
fmt.Println("Options")
15-
flag.PrintDefaults()
16-
}
17-
189
func main() {
1910
conf := ltt.NewConfigFromFlags()
2011
lt := ltt.NewLoadTest(conf)
@@ -27,8 +18,8 @@ func main() {
2718
user.SetContext(ctx)
2819

2920
data, _ := json.Marshal(map[string]string{
30-
"username": "[email protected]",
31-
"password": "password",
21+
"username": "",
22+
"password": "",
3223
})
3324

3425
resp, err := client.Post("/v1/auth", data)

0 commit comments

Comments
 (0)