godingtalk/api_encryption_test.go

15 lines
188 B
Go
Raw Permalink Normal View History

2021-11-18 10:56:31 +00:00
package godingtalk
import (
"testing"
)
func TestEncryption(t *testing.T) {
str, err := c.Encrypt("Hello")
if err!=nil {
t.Log(err)
} else {
t.Log(str)
}
}