di-go/annotation/annotation_test.go
2019-11-11 23:41:01 +09:00

21 lines
557 B
Go

package annotation
import (
"log"
"testing"
)
func TestSplitAnnotation(t *testing.T) {
s := "@overflow:RequestMapping(method='POST', entry='/account/signin', params='[signinID, signinPW]');@overflow:RequestMapping1(method='POST1', entry='/account/signin1', params='[signinID1, signinPW1]')"
ss, _ := splitAnnotation(s)
log.Printf("%v", ss)
}
// func TestSplitAnnotationAttribute(t *testing.T) {
// s := "method='POST', entry='/account/signin', params='[signinID, signinPW]'"
// ss, _ := splitAnnotationAttribute(s)
// log.Printf("%v", ss)
// }