added test

This commit is contained in:
snoop 2017-06-23 16:46:07 +09:00
parent 530e56cfe2
commit 3a0d5cb590

View File

@ -1 +1,23 @@
package keystore package keystore
import (
"testing"
"strings"
)
func TestGetKey(t *testing.T) {
str, _:= NewKeyStoreSerivce().CreateKey()
t.Log(str)
t.Log(len(str))
ss := strings.Replace(str, "-", "", -1)
t.Log(ss);
t.Log(len(ss))
}