app: move system.ClipboardEvent to its own package

API change. Update your code with gofmt rule and goimports:

gofmt -r "system.ClipboardEvent -> clipboard.Event"
goimports

Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Inkeliz
2020-12-04 03:56:13 +00:00
committed by Elias Naur
parent feb93baee0
commit 828f19304b
10 changed files with 30 additions and 20 deletions
+4 -11
View File
@@ -60,12 +60,6 @@ type DestroyEvent struct {
Err error
}
// ClipboardEvent is sent once for each request for the
// clipboard content.
type ClipboardEvent struct {
Text string
}
// Insets is the space taken up by
// system decoration such as translucent
// system bars and software keyboards.
@@ -118,8 +112,7 @@ func (l Stage) String() string {
}
}
func (FrameEvent) ImplementsEvent() {}
func (StageEvent) ImplementsEvent() {}
func (*CommandEvent) ImplementsEvent() {}
func (DestroyEvent) ImplementsEvent() {}
func (ClipboardEvent) ImplementsEvent() {}
func (FrameEvent) ImplementsEvent() {}
func (StageEvent) ImplementsEvent() {}
func (*CommandEvent) ImplementsEvent() {}
func (DestroyEvent) ImplementsEvent() {}