diff --git a/api/auth.go b/api/auth.go
index afc79c1..04f0ab5 100644
--- a/api/auth.go
+++ b/api/auth.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
@@ -108,7 +107,7 @@ func AuthValidateAPIKey(c *fiber.Ctx, key string) (bool, error) {
return true, nil
}
- // actual key comparision
+ // actual key comparison
for _, apicontext := range Apikeys {
hashedAPIKey := sha256.Sum256([]byte(apicontext.Key))
hashedKey := sha256.Sum256([]byte(key))
diff --git a/api/cleaner.go b/api/cleaner.go
index dc97710..dc33f18 100644
--- a/api/cleaner.go
+++ b/api/cleaner.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/db.go b/api/db.go
index ae68159..0b988e3 100644
--- a/api/db.go
+++ b/api/db.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/db_test.go b/api/db_test.go
index 4227412..3916099 100644
--- a/api/db_test.go
+++ b/api/db_test.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/fileio.go b/api/fileio.go
index 8018488..057cd86 100644
--- a/api/fileio.go
+++ b/api/fileio.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/form_handlers.go b/api/form_handlers.go
index 2c9536c..327a844 100644
--- a/api/form_handlers.go
+++ b/api/form_handlers.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
@@ -63,7 +62,7 @@ func FormCreate(c *fiber.Ctx, cfg *cfg.Config, db *Db) error {
}
entry.Context = apicontext
- // extract auxilliary form data (expire field et al)
+ // extract auxiliary form data (expire field et al)
if err := c.BodyParser(&formdata); err != nil {
return JsonStatus(c, fiber.StatusInternalServerError,
"bodyparser error : "+err.Error())
diff --git a/api/mail.go b/api/mail.go
index 894eadb..5f85c46 100644
--- a/api/mail.go
+++ b/api/mail.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/server.go b/api/server.go
index 5e7fe99..e6d3ab0 100644
--- a/api/server.go
+++ b/api/server.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/api/upload_handlers.go b/api/upload_handlers.go
index 16bfbe4..ca57e11 100644
--- a/api/upload_handlers.go
+++ b/api/upload_handlers.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
@@ -86,7 +85,7 @@ func UploadPost(c *fiber.Ctx, cfg *cfg.Config, db *Db) error {
}
entry.Members = members
- // extract auxilliary form data (expire field et al)
+ // extract auxiliary form data (expire field et al)
if err := c.BodyParser(&formdata); err != nil {
return JsonStatus(c, fiber.StatusInternalServerError,
"bodyparser error : "+err.Error())
diff --git a/api/utils.go b/api/utils.go
index f662c9b..ac93eba 100644
--- a/api/utils.go
+++ b/api/utils.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package api
import (
diff --git a/common/timestamp.go b/common/timestamp.go
index 4c9531f..4419b0f 100644
--- a/common/timestamp.go
+++ b/common/timestamp.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package common
import (
diff --git a/common/types.go b/common/types.go
index a380042..e762374 100644
--- a/common/types.go
+++ b/common/types.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package common
import (
diff --git a/common/utils.go b/common/utils.go
index 406bbd9..76d2b97 100644
--- a/common/utils.go
+++ b/common/utils.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package common
import (
diff --git a/main.go b/main.go
index 6957212..91bf484 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package main
import (
diff --git a/upctl/lib/client.go b/upctl/lib/client.go
index cc90f8d..1ba6537 100644
--- a/upctl/lib/client.go
+++ b/upctl/lib/client.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package lib
import (
diff --git a/upctl/lib/client_test.go b/upctl/lib/client_test.go
index 3b92a22..2912210 100644
--- a/upctl/lib/client_test.go
+++ b/upctl/lib/client_test.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package lib
import (
diff --git a/upctl/lib/output.go b/upctl/lib/output.go
index cdc26ad..57c56d1 100644
--- a/upctl/lib/output.go
+++ b/upctl/lib/output.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package lib
import (
diff --git a/upctl/main.go b/upctl/main.go
index a7aa748..3cd2db7 100644
--- a/upctl/main.go
+++ b/upctl/main.go
@@ -14,7 +14,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-
package main
import (