package
Version:
v0.0.0-...-7767b9c
Opens a new window with list of versions in this module.
Published: Sep 27, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type File struct {
Id int `json:"-" db:"id"`
Path string `json:"path" binding:"required"`
Type FileType `json:"type" binding:"required"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
}
type FileParams struct {
Width uint `json:"width" form:"width"`
Height uint `json:"height" form:"height"`
}
type GetFilesParams struct {
Type string `json:"type,omitempty" form:"type"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.