-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added authors controller * WIP * Fixed link to related docs * Use ellipsis in cover large texts, cleaned up API * Added missing tranlations * Updated tests * Cleanup * Further cleanup * Added test
- Loading branch information
Showing
33 changed files
with
410 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package index | ||
|
||
type Author struct { | ||
Slug string | ||
Name string | ||
Type string | ||
} | ||
|
||
// BleveType is part of the bleve.Classifier interface and its purpose is to tell the indexer | ||
// the type of the document, which will be used to decide which analyzer will parse it. | ||
func (a Author) BleveType() string { | ||
return "author" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.