You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
946 B

package main
//go:generate go build -o build\ main.go
////go:generate go build -ldflags "-s -w" -o build\ main.go
/*
____ ____ ______ .___ ___. _______ _______ __ ___ __ ___ __ .___________.
\ \ / / / || \/ | | ____|| \ | | / \ | |/ / | | | |
\ \/ / | ,----'| \ / | | |__ | .--. || | / ^ \ | ' / | | `---| |----`
\_ _/ | | | |\/| | | __| | | | || | / /_\ \ | < | | | |
| | | `----.| | | | | |____ | '--' || | / _____ \ | . \ | | | |
|__| \______||__| |__| |_______||_______/ |__| /__/ \__\ |__|\__\ |__| |__|
The ffmpeg server for Go
(c) yu cheng fajiao 2023-present
*/
import (
"context"
"ycmediakit/cmd"
"ycmediakit/internal/pkg/util"
)
func main() {
ctx, cancel := context.WithCancel(context.Background())
go util.WaitTerminal(cancel)
cmd.Run(ctx)
}