feat: project setup
This commit is contained in:
17
models/citations/model.go
Normal file
17
models/citations/model.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package citations
|
||||
|
||||
// MLACitation is a model for creating an inline citation in the MLA format: (Doe 23)
|
||||
type MLACitation struct {
|
||||
Content string `json:"content"`
|
||||
LastName string `json:"last_name"`
|
||||
PageNumber int `json:"page_number"`
|
||||
}
|
||||
|
||||
// APACitation is a model for creating an inline citation in the APA format: (Doe, 2020, p. 23)
|
||||
type APACitation struct {
|
||||
Content string `json:"content"`
|
||||
LastName string `json:"last_name"`
|
||||
Year int `json:"year"`
|
||||
PageNumber int `json:"page_number"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user