修复URL注册BUG
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
@ -46,7 +44,5 @@ func Test_parseController(t *testing.T) {
|
||||
SetValidateErrTag("err_msg")
|
||||
s := NewServer(8080, nil)
|
||||
s.Group("test", nil, TestController{})
|
||||
byteData, _ := json.Marshal(s.docInstance.Data())
|
||||
fmt.Println(string(byteData))
|
||||
s.Start()
|
||||
}
|
||||
|
Reference in New Issue
Block a user