Documentation
¶
Index ¶
- func AddCitation(db *sql.DB, cit *citation.Citation)
- func CheckDatabase() string
- func EditCitation(db *sql.DB, id string, cit *citation.Citation)
- func EditInEditor(cit *citation.Citation, empty bool) citation.Citation
- func GetCitation(db *sql.DB, searchId string) citation.Citation
- func GetCitations(db *sql.DB) []citation.Citation
- func RemoveCitation(db *sql.DB, id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCitation ¶
adds a single article to the database
func CheckDatabase ¶
func CheckDatabase() string
returns the path to the database and creates it, if not already there
func EditCitation ¶
edit a citation based on id
func EditInEditor ¶
let the user edit an entry using the editor of choice
func GetCitation ¶
returns a citation based on id
func GetCitations ¶
returns all citations found in database
func RemoveCitation ¶
removes citation based on id (and any corresponding file)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.