You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FunctionNameList implements the Sortable interface for FunctionNames
type FunctionNameList []FunctionName
func (f FunctionNameList) Len() int {
return len(f)
}
func (f FunctionNameList) Swap(i, j int) {
f[i], f[j] = f[j], f[i]
}
// Sort functions by the struct to which they're attached first, then the name of the method itself. If the function isn't attached to a struct, put it at the bottom