mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 03:07:45 +08:00
fix issue for unit testing case for package ghttp
This commit is contained in:
parent
5d804987b9
commit
89661301b0
@ -11,6 +11,7 @@ import (
|
||||
"fmt"
|
||||
"github.com/gogf/gf/errors/gerror"
|
||||
"github.com/gogf/gf/text/gstr"
|
||||
"github.com/gogf/gf/util/gmeta"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@ -21,8 +22,9 @@ import (
|
||||
|
||||
func Test_OpenApi_Swagger(t *testing.T) {
|
||||
type TestReq struct {
|
||||
Age int
|
||||
Name string
|
||||
gmeta.Meta `method:"get" summary:"Test summary" tags:"Test"`
|
||||
Age int
|
||||
Name string
|
||||
}
|
||||
type TestRes struct {
|
||||
Id int
|
||||
|
Loading…
Reference in New Issue
Block a user