gojang/gojang_test.go
jolheiser 77a00dbb66
Add rate limit and refactor. Add example.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-07-02 12:15:18 -05:00

15 lines
154 B
Go

package gojang
import (
"os"
"testing"
"time"
)
var gojang *Gojang
func TestMain(m *testing.M) {
gojang = New(time.Second * 5)
os.Exit(m.Run())
}