github.com/hoffie/larasync@v0.0.0-20151025221940-0384d2bddcef/api/client/common_test.go (about) 1 package client 2 3 import ( 4 "testing" 5 6 common "github.com/hoffie/larasync/api/common" 7 8 . "gopkg.in/check.v1" 9 ) 10 11 func Test(t *testing.T) { 12 TestingT(t) 13 } 14 15 var adminSecret = []byte("foo") 16 var adminPubkey [PublicKeySize]byte 17 18 func init() { 19 var err error 20 adminPubkey, err = common.GetAdminSecretPubkey(adminSecret) 21 if err != nil { 22 panic(err) 23 } 24 }