From d23811ee5d8d194c708160a2f1fb4880c476df2f Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 21 Feb 2019 12:37:33 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/hid/build_amazon.go | 3 +++ modules/hid/build_logitech.go | 3 +++ modules/hid/build_microsoft.go | 3 +++ modules/hid/builders.go | 3 +++ modules/hid/command.go | 3 +++ modules/hid/duckyparser.go | 3 +++ modules/hid/hid_inject.go | 3 +++ modules/hid/hid_show.go | 3 +++ modules/hid/hid_show_sort.go | 3 +++ modules/hid/keymaps.go | 3 +++ 10 files changed, 30 insertions(+) diff --git a/modules/hid/build_amazon.go b/modules/hid/build_amazon.go index bd787e62..4dc6fd1b 100644 --- a/modules/hid/build_amazon.go +++ b/modules/hid/build_amazon.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/build_logitech.go b/modules/hid/build_logitech.go index 1beb2ade..b824db0e 100644 --- a/modules/hid/build_logitech.go +++ b/modules/hid/build_logitech.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/build_microsoft.go b/modules/hid/build_microsoft.go index cc849b19..1f32e308 100644 --- a/modules/hid/build_microsoft.go +++ b/modules/hid/build_microsoft.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/builders.go b/modules/hid/builders.go index ead76656..b48f8d90 100644 --- a/modules/hid/builders.go +++ b/modules/hid/builders.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/command.go b/modules/hid/command.go index 17799ea6..2dd2fb35 100644 --- a/modules/hid/command.go +++ b/modules/hid/command.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/duckyparser.go b/modules/hid/duckyparser.go index c5536965..3f6ada78 100644 --- a/modules/hid/duckyparser.go +++ b/modules/hid/duckyparser.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/hid_inject.go b/modules/hid/hid_inject.go index b9059381..5bbd75e1 100644 --- a/modules/hid/hid_inject.go +++ b/modules/hid/hid_inject.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/hid_show.go b/modules/hid/hid_show.go index 3418cbb4..315dbb3e 100644 --- a/modules/hid/hid_show.go +++ b/modules/hid/hid_show.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/hid_show_sort.go b/modules/hid/hid_show_sort.go index a70690e6..d2c739a4 100644 --- a/modules/hid/hid_show_sort.go +++ b/modules/hid/hid_show_sort.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import ( diff --git a/modules/hid/keymaps.go b/modules/hid/keymaps.go index 23a71800..40aa7dad 100644 --- a/modules/hid/keymaps.go +++ b/modules/hid/keymaps.go @@ -1,3 +1,6 @@ +// +build !windows +// +build !android + package hid import (