package
Version:
v0.0.0-...-1b941cd
Opens a new window with list of versions in this module.
Published: Feb 26, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Migrate automigrates models using ORM
type Convert struct {
Voice string `sql:"type:text;"`
Text string `sql:"type:text;"`
Speed int `sql:"type:int;"`
Format string `sql:"type:text;"`
}
Post data model
Serialize serializes post data
type ErrBody struct {
Status string `json:"status"`
Message string `json:"message"`
}
type ReqBody struct {
Voice string `json:"voice" binding:"required"`
Text string `json:"text" binding:"required"`
Speed string `json:"speed" binding:"required"`
Format string `json:"format" binding:"required"`
}
type ResBody struct {
Status string `json:"status"`
Message string `json:"message"`
Text string `json:"text"`
Link string `json:"link"`
}
User data model
Serialize serializes user data
Source Files
¶
Click to show internal directories.
Click to hide internal directories.