Documentation ¶
Index ¶
- func Generate()
- func GenerateAfterKnown()
- func GenerateEgg()
- func GenerateEnterYourCar()
- func GenerateOldTime()
- func GenerateOurSong()
- func GenerateStillSing()
- type Line
- type Sentence
- func (that *Sentence) AddLine(line *Line)
- func (that *Sentence) DealInfoChinese()
- func (that *Sentence) DealTimeOffset(time *Time) *Time
- func (that *Sentence) ExportFile(path string)
- func (that *Sentence) ExportLRC(path string)
- func (that *Sentence) ExportSRT(path string)
- func (that *Sentence) LoadLines(filePath string)
- func (that *Sentence) SetAlbum(album string)
- func (that *Sentence) SetArtist(artist string)
- func (that *Sentence) SetAuthor(author string)
- func (that *Sentence) SetComposer(composer string)
- func (that *Sentence) SetLyrics(lyrics string)
- func (that *Sentence) SetOffset(offset int64)
- func (that *Sentence) SetTitle(title string)
- type Time
- func (that *Time) ExportLRC() string
- func (that *Time) ExportSRT() string
- func (that *Time) ExportString() string
- func (that *Time) HourString() string
- func (that *Time) MicroHundredString() string
- func (that *Time) MicroTwoDecimalString() string
- func (that *Time) MinuteString() string
- func (that *Time) MinuteWithHourString() string
- func (that *Time) SecondString() string
- func (that *Time) TransferTimeToTimestamp() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAfterKnown ¶
func GenerateAfterKnown()
func GenerateEgg ¶
func GenerateEgg()
func GenerateEnterYourCar ¶
func GenerateEnterYourCar()
func GenerateOldTime ¶
func GenerateOldTime()
func GenerateOurSong ¶
func GenerateOurSong()
func GenerateStillSing ¶
func GenerateStillSing()
Types ¶
type Line ¶
func ReadLineFromString ¶
type Sentence ¶
type Sentence struct { Offset int64 Title string Album string Artist string Author string Lyrics string Composer string Lines *[]*Line }
func GenerateEmptySentence ¶
func GenerateEmptySentence() *Sentence
func (*Sentence) DealInfoChinese ¶
func (that *Sentence) DealInfoChinese()
func (*Sentence) DealTimeOffset ¶
func (*Sentence) ExportFile ¶
func (*Sentence) SetComposer ¶
type Time ¶
func ReadTimeFromString ¶
func TransferTimestampToTime ¶
func (*Time) ExportString ¶
func (*Time) HourString ¶
func (*Time) MicroHundredString ¶
func (*Time) MicroTwoDecimalString ¶
func (*Time) MinuteString ¶
func (*Time) MinuteWithHourString ¶
func (*Time) SecondString ¶
func (*Time) TransferTimeToTimestamp ¶
Click to show internal directories.
Click to hide internal directories.