From 01ffc130b400df8751c89fd7a3d2645180ea4261 Mon Sep 17 00:00:00 2001 From: geek Date: Wed, 30 Aug 2017 12:22:37 +0900 Subject: [PATCH] check email --- module/member/check_email.go | 2 +- module/member/check_email_test.go | 7 +++++++ module/member/signup_test.go | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 module/member/check_email_test.go create mode 100644 module/member/signup_test.go diff --git a/module/member/check_email.go b/module/member/check_email.go index 3dd02a0..b29ace5 100644 --- a/module/member/check_email.go +++ b/module/member/check_email.go @@ -32,6 +32,6 @@ func CheckEmail(sctx *server.ServerContext, ctx *fasthttp.RequestCtx) { fmt.Fprintf(ctx, "Error!!!!: %s\n", err) } - + fmt.Fprintf(ctx, "Email Check!!!!: %s\n", r) } diff --git a/module/member/check_email_test.go b/module/member/check_email_test.go new file mode 100644 index 0000000..3bc0dd8 --- /dev/null +++ b/module/member/check_email_test.go @@ -0,0 +1,7 @@ +package member + +//import "testing" +// +//func TestCheckEncodeKey(t *testing.T) { +// t.Log(CheckEncodeKey("dZQgXM1o/Cx48X8DM 6ec/oPfqA2l/LdWtijOZ2EnWk=")) +//} \ No newline at end of file diff --git a/module/member/signup_test.go b/module/member/signup_test.go new file mode 100644 index 0000000..6c80f6d --- /dev/null +++ b/module/member/signup_test.go @@ -0,0 +1,14 @@ +package member + +import ( + "testing" +) + +func setup() { + +} + +func TestSignUp(t *testing.T) { + + +} \ No newline at end of file