package
Version:
v0.0.0-...-8a4eff6
Opens a new window with list of versions in this module.
Published: Oct 17, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Facets struct {
Tags TagsFacet `json:"tags,omitempty"`
}
type Pagination struct {
}
type Paper struct {
ID int `json:"id"`
Title string `json:"title"`
Summary string `json:"summary"`
Authors []string `json:"authors"`
Tags []string `json:"tags"`
References []string `json:"references"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type SearchParams struct {
IDs []int `json:"ids"`
Q string `json:"q"`
Tags []string `json:"tags"`
Limit uint64 `json:"limit"`
Offset uint64 `json:"offset"`
}
type SearchResults struct {
IDs []int
Facets Facets
}
type TagsFacet []struct {
Tag string `json:"tag"`
Count int `json:"count"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.