Versions in this module Expand all Collapse all v1 v1.0.2 Jan 23, 2019 Changes in this version + const Base + const CitMatchURL + const FetchURL + const GlobalURL + const InfoURL + const LinkURL + const PostURL + const SearchURL + const SpellURL + const SummaryURL + var ErrNoIdProvided = errors.New("entrez: no id provided") + var ErrNoQuery = errors.New("entrez: no query") + var Limit = ncbi.NewLimiter(time.Second / 3) + func DoCitMatch(query map[string]CitQuery, tool, email string) (map[string]int, error) + func Fetch(db string, p *Parameters, tool, email string, h *History, id ...int) (io.ReadCloser, error) + type CitQuery struct + AuthorName string + FirstPage string + JournalTitle string + Volume string + Year string + type Global struct + Query string + Results []global.Result + func DoGlobal(query, tool, email string) (*Global, error) + type History struct + QueryKey int + WebEnv string + type Info struct + DbInfo *info.DbInfo + DbList []string + Err string + func DoInfo(db, tool, email string) (*Info, error) + type Link struct + Err *string + LinkSets []link.LinkSet + func DoLink(fromDb, toDb, cmd, query string, p *Parameters, tool, email string, h *History, ...) (*Link, error) + type Parameters struct + APIKey string + Complexity int + DateType string + Field string + Holding string + LinkName string + MaxDate string + MinDate string + RelDate string + RetMax int + RetMode string + RetStart int + RetType string + SeqStart int + SeqStop int + Sort string + Strand int + type Post struct + Err *string + InvalidIds []int + func DoPost(db, tool, email string, h *History, id ...int) (*Post, error) + type Search struct + Count int + Database string + Err *string + IdList []int + NotFound *search.NotFound + QueryTranslation *string + RetMax int + RetStart int + TranslationStack search.TranslationStack + Translations []search.Translation + Warnings *search.Warnings + func DoSearch(db, query string, p *Parameters, h *History, tool, email string) (*Search, error) + type Spell struct + Corrected string + Database string + Err string + Query string + Replace spell.Replacements + func DoSpell(db, query string, tool, email string) (*Spell, error) + type Summary struct + Database string + Documents []summary.Document + Err []string + func DoSummary(db string, p *Parameters, tool, email string, h *History, id ...int) (*Summary, error)