package
Version:
v0.0.0-...-18d8172
Opens a new window with list of versions in this module.
Published: Jul 15, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Text struct {
Line string `xml:",chardata"`
Start Time `xml:"start,attr"`
Dur Time `xml:"dur,attr"`
End Time `-`
}
type Transcript struct {
Text []Text `xml:"text"`
}
New is used to render the form where the end user can enter a link
to get the subtitles for that video.
GET /new
Show is used to show the end user the appropriate information after
they enter the form with an appropriate link.
POST /new
type VideoForm struct {
Link string `schema:"link"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.