This repository has been archived on 2021-02-22. You can view files and clone it, but cannot push or open issues or pull requests.
pwn/pwn_test.go
jolheiser 26051b5776
Change to functional options
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-03 12:19:38 -05:00

19 lines
227 B
Go

package pwn
import (
"math/rand"
"net/http"
"os"
"testing"
"time"
)
var client = New(WithHTTP(&http.Client{
Timeout: time.Second * 2,
}))
func TestMain(m *testing.M) {
rand.Seed(time.Now().Unix())
os.Exit(m.Run())
}