Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format does not take effect in the query struct #717

Closed
letsfire opened this issue May 28, 2020 · 2 comments
Closed

format does not take effect in the query struct #717

letsfire opened this issue May 28, 2020 · 2 comments

Comments

@letsfire
Copy link

// @param request query query.Photo true "请求数据"

package query

type Photo struct {
	Start    int64      `form:"start" json:"start" format:"int64"`            // 开始时间
	Finish   int64      `form:"finish" json:"finish" format:"int64"`          // 结束时间
}
@sdghchj
Copy link
Member

sdghchj commented May 29, 2020

Yes, format is forgotten
PR is welcome

@sdghchj
Copy link
Member

sdghchj commented May 29, 2020

try latest master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants