typo in comment

pull/1942/head
Cory LaNou 2015-03-13 16:52:49 -06:00
parent 932b6ddc81
commit 3c3765dbb1
1 changed files with 1 additions and 1 deletions

View File

@ -1576,7 +1576,7 @@ func (f *Field) String() string {
return fmt.Sprintf("%s AS %s", f.Expr.String(), f.Alias)
}
// Sort Interface for Field
// Sort Interface for Fields
func (f Fields) Len() int { return len(f) }
func (f Fields) Less(i, j int) bool { return f[i].Name() < f[j].Name() }
func (f Fields) Swap(i, j int) { f[i], f[j] = f[j], f[i] }