diff --git a/keyboard.go b/keyboard.go index 2371a7f..10fb46f 100644 --- a/keyboard.go +++ b/keyboard.go @@ -1,9 +1,9 @@ package uinput import ( + "fmt" "io" "os" - "fmt" ) // A Keyboard is an key event output device. It is used to diff --git a/mouse.go b/mouse.go index b5c054a..04fa10c 100644 --- a/mouse.go +++ b/mouse.go @@ -1,9 +1,9 @@ package uinput import ( + "fmt" "io" "os" - "fmt" ) // A Mouse is a device that will trigger an absolute change event. diff --git a/uinput_test.go b/uinput_test.go index ce345db..7934d73 100644 --- a/uinput_test.go +++ b/uinput_test.go @@ -8,7 +8,7 @@ func TestValidateDevicePathEmptyPathPanics(t *testing.T) { if r := recover(); r != nil { actual := r.(string) if actual != expected { - t.Fatalf("Expected: %s\nActual: %s", expected, actual ) + t.Fatalf("Expected: %s\nActual: %s", expected, actual) } } }() @@ -23,7 +23,7 @@ func TestValidateDevicePathInvalidPathPanics(t *testing.T) { if r := recover(); r != nil { actual := r.(string) if actual != expected { - t.Fatalf("Expected: %s\nActual: %s", expected, actual ) + t.Fatalf("Expected: %s\nActual: %s", expected, actual) } } }()