update

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Entry

type Entry struct {
	EID          string        `json:"eid"`
	Title        string        `json:"dc:title"`
	Author       string        `json:"dc:creator"`
	PubType      string        `json:"prism:aggregationType"`
	PubName      string        `json:"prism:publicationName"`
	SubType      string        `json:"subtypeDescription"`
	Volume       string        `json:"prism:volume"`
	Pages        string        `json:"prism:pageRange"`
	Date         string        `json:"prism:coverDisplayDate"`
	ISODate      string        `json:"prism:coverDate"`
	DOI          string        `json:"prism:doi"`
	Abstract     string        `json:"dc:description"`
	CitedByCount string        `json:"citedby-count"`
	Keywords     string        `json:"authkeywords"`
	Authors      []EntryAuthor `json:"author"`
	Affiliations []struct {
		SID     string `json:"afid"`
		Name    string `json:"affilname"`
		City    string `json:"affiliation-city"`
		Country string `json:"affiliation-country"`
	} `json:"affiliation"`
}

type EntryAuthor

type EntryAuthor struct {
	SID          string `json:"authid"`
	Name         string `json:"authname"`
	GivenName    string `json:"given-name"`
	Surname      string `json:"surname"`
	Initials     string `json:"initials"`
	Affiliations []struct {
		SID string `json:"$"`
	} `json:"afid"`
}

type QueryHandler

type QueryHandler struct {
	// contains filtered or unexported fields
}

func (*QueryHandler) ServeHTTP

func (handler *QueryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Request

type Request struct {
	// contains filtered or unexported fields
}

type ScopusResult

type ScopusResult struct {
	Results struct {
		Citations []Entry `json:"entry"`
		Count     string  `json:"opensearch:totalResults"`
	} `json:"search-results"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL