-
Notifications
You must be signed in to change notification settings - Fork 42
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
wip! Initial UI server #16
base: master
Are you sure you want to change the base?
Conversation
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.
Found some fixes!
P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).
} | ||
|
||
// Sum adds the flat and cum values of a set of nodes. | ||
func (ns Nodes) Sum() (flat int64, cum int64) { |
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.
two or more consecutive named function parameters share a type, you can omit the type from all but the last
func (ns Nodes) Sum() (flat int64, cum int64) { | |
func (ns Nodes) Sum() (flat, cum int64) { |
} | ||
|
||
// SortNodes sorts the nodes in a graph based on a specific heuristic. | ||
func (g *Graph) SortNodes(cum bool, visualMode bool) { |
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.
two or more consecutive named function parameters share a type, you can omit the type from all but the last
func (g *Graph) SortNodes(cum bool, visualMode bool) { | |
func (g *Graph) SortNodes(cum, visualMode bool) { |
No description provided.