Discover Packages
github.com/tavsec/devto-mongodb-hackathon-api
Controllers
package
Version:
v0.0.0-...-8985448
Opens a new window with list of versions in this module.
Published: Jun 13, 2023
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Feature struct {
Description string `bson:"description"`
Timestamps []Timestamp `bson:"timestamps"`
}
type PaginatedResult struct {
Videos []Video
}
type SearchBody struct {
Keyword string `form:"keyword"`
Page int64 `form:"page"`
PerPage int64 `form:"perPage"`
}
type Timestamp struct {
Start int64 `bson:"start"`
End int64 `bson:"end"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.