Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Author ¶
type Provider ¶
type Provider interface {
Pipeline() []bson.M
PipelineForField(field string) []bson.M
GetDisplayNameQuery(field string) bson.M
// AddAuthorStr converts object result after Pipeline() into string author with display_name by default
AddAuthorStr(field string) bson.M
}
func NewProvider ¶
func NewProvider(configProvider config.ApiConfigProvider) Provider
Source Files
¶
- author.go
Click to show internal directories.
Click to hide internal directories.