mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:03:01 +08:00

* fix: fix go test errors * Add flags to mac test * Run on all branches * Update PR workflow Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
18 lines
330 B
Go
18 lines
330 B
Go
//go:build windows
|
|
|
|
/*
|
|
* Copyright (C) 2019 The Winc Authors. All Rights Reserved.
|
|
* Copyright (C) 2010-2013 Allen Dang. All Rights Reserved.
|
|
*/
|
|
|
|
package winc
|
|
|
|
type Event struct {
|
|
Sender Controller
|
|
Data interface{}
|
|
}
|
|
|
|
func NewEvent(sender Controller, data interface{}) *Event {
|
|
return &Event{Sender: sender, Data: data}
|
|
}
|