sesamy-go/event/filedownload.go
Kevin Franklin Kim 453e5159a1
feat: add events
2024-05-15 13:17:45 +02:00

13 lines
285 B
Go

package event
import (
"github.com/foomo/sesamy-go"
"github.com/foomo/sesamy-go/event/params"
)
type FileDownload sesamy.Event[params.FileDownload]
func NewFileDownload(p params.FileDownload) FileDownload {
return FileDownload(sesamy.NewEvent(sesamy.EventNameFileDownload, p))
}