Documentation ¶
Overview ¶
Package contains common things between microservices
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APIEndpoint = os.Getenv("API_ENTRYPOINT")
The endpoint to use to save parsed data somewhere.
Functions ¶
func CreateHighlights ¶
CreateHighlights creates highlights in the data store using REST API.
Types ¶
type Highlight ¶
type Highlight struct { URL string `bson:"source_url" json:"source_url"` Text string `bson:"text" json:"text"` Note string `bson:"note" json:"note"` Colour string `bson:"colour" json:"color"` SourceID string `bson:"source_id" json:"source_id"` SourceTitle string `bson:"source_title" json:"source_title"` }
The structure to represent a highlight.
Click to show internal directories.
Click to hide internal directories.