mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-06-08 08:59:55 +08:00
feat: exec command hook , close #79
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
||||
func executeStream(ctx context.Context, task *TGFileTask) error {
|
||||
func executeStream(ctx context.Context, task *Task) error {
|
||||
logger := log.FromContext(ctx).WithPrefix(fmt.Sprintf("file[%s]", task.File.Name()))
|
||||
|
||||
pr, pw := io.Pipe()
|
||||
|
||||
Reference in New Issue
Block a user