Remove Authors.Sort

We may add it again in the future, but let us try to keep the API as small as possible for now.

See #1850
This commit is contained in:
Bjørn Erik Pedersen 2016-09-17 00:50:11 +02:00
parent cf978c0649
commit 51c9bfbc9e

View file

@ -39,12 +39,6 @@ func (a Authors) Get(id string) Author {
return Author{}
}
// Sort sorts the authors by weight
func (a Authors) Sort() Authors {
sort.Stable(a)
return a
}
// Author contains details about the author of a page.
type Author struct {
ID string