type ListProjectsOK struct {
/* Link refers to the previous page and next page
*/
Link string
/* The total count of projects
*/
XTotalCount int64
Payload []*models.Project
}
Why to use the point in Payload?This outputs an address, not a string?
This could be changed to not using a pointer, would it be better?
type ListProjectsOK struct {
/* Link refers to the previous page and next page
*/
Link string
/* The total count of projects
*/
XTotalCount int64
Payload []models.Project
}
Want to support
I want to know it is ok? .There are a lot of problems just like this. If it is no problem, I will create PR to sovle and add some Test Func
If you agree with me, Please LGMT Your name.
Description
Why to use the point in Payload?This outputs an address, not a string?
This could be changed to not using a pointer, would it be better?
Want to support I want to know it is ok? .There are a lot of problems just like this. If it is no problem, I will create PR to sovle and add some Test Func If you agree with me, Please LGMT Your name.