-
Notifications
You must be signed in to change notification settings - Fork 40
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
add api definition for sql module of dashboard #546
Conversation
} | ||
|
||
type PlanStatistic struct { | ||
PlanMeta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
json:",inline"
should be added to this line if the PlanMeta
is expected to be included in response json.
} | ||
|
||
type PlanStatisticByServer struct { | ||
PlanStatistic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as PlanMeta
field in PlanStatistic
, json tag should be added.
} | ||
|
||
type SqlInfo struct { | ||
SqlMetaInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing JSON tag here too.
} | ||
|
||
type SqlFilter struct { | ||
BaseSqlRequestParam |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing json tag here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
add api definition for sql module of dashboard
Solution Description