Documentation
¶
Index ¶
- func AddFollow(c *gin.Context)
- func AddNote(c *gin.Context)
- func AddNoteTag(c *gin.Context)
- func AddTag(c *gin.Context)
- func BuyNote(c *gin.Context)
- func DeleteFollow(c *gin.Context)
- func DeleteNote(c *gin.Context)
- func DeleteNoteTag(c *gin.Context)
- func DeleteSave(c *gin.Context)
- func EditNote(c *gin.Context)
- func EditPassword(c *gin.Context)
- func EditProfile(c *gin.Context)
- func GetCourse(c *gin.Context)
- func GetFollow(c *gin.Context)
- func GetFollowers(c *gin.Context)
- func GetFollowing(c *gin.Context)
- func GetHotNote(c *gin.Context)
- func GetNote(c *gin.Context)
- func GetNoteByCourse(c *gin.Context)
- func GetNoteByTag(c *gin.Context)
- func GetNoteFile(c *gin.Context)
- func GetNoteSales(c *gin.Context)
- func GetNoteTag(c *gin.Context)
- func GetNotesByUserIdPublic(c *gin.Context)
- func GetOwnNotes(c *gin.Context)
- func GetPreviewFile(c *gin.Context)
- func GetPrivateProfile(c *gin.Context)
- func GetPublicProfile(c *gin.Context)
- func GetSchool(c *gin.Context)
- func GetSchoolCourse(c *gin.Context)
- func GetSchools(c *gin.Context)
- func GetTag(c *gin.Context)
- func GetTags(c *gin.Context)
- func GoogleLogin(c *gin.Context)
- func IsNoteSaved(c *gin.Context)
- func Login(c *gin.Context)
- func Register(c *gin.Context)
- func SaveNote(c *gin.Context)
- func Search(c *gin.Context)
- func UploadGoodnotes(c *gin.Context)
- func UploadNotability(c *gin.Context)
- func UploadPdf(c *gin.Context)
- func UploadPreview(c *gin.Context)
- type AddAccountInput
- type AddFollowInput
- type AddNoteInput
- type AddTagInput
- type CourseResult
- type GoogleLoginInput
- type LazyNoteOutput
- type LoginInput
- type NoteBrief
- type NoteOutput
- type SchoolResult
- type TagInfo
- type TagResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNoteTag ¶
func DeleteNoteTag ¶
func GetFollowers ¶
func GetFollowing ¶
func GetHotNote ¶
func GetNoteByCourse ¶
func GetNoteByTag ¶
func GetNoteFile ¶
func GetNoteTag ¶
func GetNotesByUserIdPublic ¶
func GetOwnNotes ¶
func GetPreviewFile ¶
func GoogleLogin ¶
Types ¶
type AddAccountInput ¶
type AddFollowInput ¶
type AddFollowInput struct {
Followee_id int64 `json:"account_id" binding:"required"`
}
type AddNoteInput ¶
type AddTagInput ¶
type AddTagInput struct {
Tag_name string `json:"tag_name" binding:"required"`
}
type CourseResult ¶
type GoogleLoginInput ¶
type LazyNoteOutput ¶
type LazyNoteOutput struct { ID int64 `json:"note_id"` User_id int64 `json:"user_id"` Username string `json:"username"` Title string `json:"title"` View_cnt int64 `json:"view_cnt"` Saved_cnt int64 `json:"saved_cnt"` Note_type string `json:"note_type"` Preview_filename string `json:"preview_filename"` Preview_url string `json:"preview_url"` CreatedAt time.Time `json:"created_at"` }
type LoginInput ¶
type NoteBrief ¶
type NoteBrief struct { Note_ID int64 `json:"note_id"` Account_ID int64 `json:"user_id"` Username string `json:"username"` Title string `json:"title"` View_cnt int64 `json:"view_cnt"` Saved_cnt int64 `json:"saved_cnt"` Note_type string `json:"note_type"` Preview_filename string `json:"preview_filename"` Preview_url string `json:"preview_url"` CreatedAt time.Time `json:"created_at"` }
type NoteOutput ¶
type NoteOutput struct { ID int64 `json:"note_id"` Account_id int64 `json:"account_id"` Username string `json:"username"` Title string `json:"title"` Description string `json:"description"` View_cnt int64 `json:"view_cnt"` Saved_cnt int64 `json:"saved_cnt"` Course_id int64 `json:"course_id"` Course_name string `json:"course_name"` Course_no string `json:"course_no"` School_id int64 `json:"school_id"` School_name string `json:"school_name"` Is_template bool `json:"is_template"` Note_type string `json:"note_type"` Bean int `json:"bean"` Pdf_filename string `json:"pdf_filename"` Preview_filename string `json:"preview_filename"` Preview_url string `json:"preview_url"` Goodnotes_filename string `json:"goodnotes_filename"` Notability_filename string `json:"notability_filename"` CreatedAt time.Time `json:"created_at"` }
type SchoolResult ¶
Click to show internal directories.
Click to hide internal directories.