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