15 lines
188 B
Go
15 lines
188 B
Go
|
|
package godingtalk
|
||
|
|
|
||
|
|
import (
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestEncryption(t *testing.T) {
|
||
|
|
str, err := c.Encrypt("Hello")
|
||
|
|
if err!=nil {
|
||
|
|
t.Log(err)
|
||
|
|
} else {
|
||
|
|
t.Log(str)
|
||
|
|
}
|
||
|
|
}
|