Skip to content

Commit

Permalink
added gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahaja committed Sep 20, 2020
1 parent 519602a commit 2caf5ac
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 351 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea/
10 changes: 0 additions & 10 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/ltt.iml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

29 changes: 0 additions & 29 deletions .idea/watcherTasks.xml

This file was deleted.

278 changes: 0 additions & 278 deletions .idea/workspace.xml

This file was deleted.

13 changes: 2 additions & 11 deletions examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,9 @@ package main
import (
"context"
"encoding/json"
"flag"
"fmt"
"github.com/Jahaja/ltt"
)

func help() {
fmt.Println("Load Testing Tool")
fmt.Println("")
fmt.Println("Options")
flag.PrintDefaults()
}

func main() {
conf := ltt.NewConfigFromFlags()
lt := ltt.NewLoadTest(conf)
Expand All @@ -27,8 +18,8 @@ func main() {
user.SetContext(ctx)

data, _ := json.Marshal(map[string]string{
"username": "[email protected]",
"password": "password",
"username": "",
"password": "",
})

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

0 comments on commit 2caf5ac

Please sign in to comment.