mirror of
https://github.com/foomo/sesamy-go.git
synced 2025-10-16 12:35:43 +00:00
13 lines
311 B
Go
13 lines
311 B
Go
package event
|
|
|
|
import (
|
|
"github.com/foomo/sesamy-go/pkg/event/params"
|
|
sesamy2 "github.com/foomo/sesamy-go/pkg/sesamy"
|
|
)
|
|
|
|
type FileDownload sesamy2.Event[params.FileDownload]
|
|
|
|
func NewFileDownload(p params.FileDownload) FileDownload {
|
|
return FileDownload(sesamy2.NewEvent(sesamy2.EventNameFileDownload, p))
|
|
}
|