Documentation ¶
Index ¶
Constants ¶
View Source
const Order_Date = "Date Desc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { ID int `json:"id" db:"CategoryId"` Name string `json:"name" db:"Name"` ParentId int `json:"parentId" db:"ParentId"` }
EntryType é o tipo de publicação de um registro
type CategoryEntry ¶
EntryType é o tipo de publicação de um registro
type Entry ¶
type Entry struct { EntryId int `json:"id" db:"EntryId"` Title string `json:"title" db:"Title"` Abstract string `json:"abstract" db:"Abstract"` Content string `json:"content" db:"Content"` PublishDate time.Time `json:"publishDate" db:"PublishDate"` Author string `json:"author" db:"Author"` Journal string `json:"journal" db:"Journal"` EntryType EntryType `json:"entryType"` EntryTypeId int `db:"EntryTypeId"` Categories []Category `json:"categories" db:"Categories"` MedlineId string `json:"medlineId" db:"MedlineId"` }
EntryType é o tipo de publicação de um registro
type Facet ¶
type Facet struct { Id string `json:"id"` Name string `json:"name"` IsSelected bool `json:"isSelected"` Options []FacetOption `json:"options"` }
type FacetOption ¶
type FacetOption struct { Id int `json:"id"` Name string `json:"name"` IsSelected bool `json:"isSelected"` Count int `json:"count"` Options []FacetOption `json:"options"` }
type Navigation ¶
type Navigation struct {}
type SearchFilter ¶
type SearchQuery ¶
type SearchResults ¶
type SearchResults struct { Query SearchQuery `json:"query"` Results []Entry `json:"results"` Facets []Facet `json:"facets"` }
Click to show internal directories.
Click to hide internal directories.