From d1af5b75aadec18340a27cf9425646e6e0eea553 Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Wed, 7 Sep 2022 10:14:50 +0300 Subject: [PATCH] [sources] Minor compiler complaint fixup. --- sources/cmd/archiver.go | 2 +- sources/cmd/server-dummy.go | 2 +- sources/cmd/server.go | 2 +- sources/cmd/wrapper.go | 2 +- sources/embedded/variables.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sources/cmd/archiver.go b/sources/cmd/archiver.go index d7b3aef..4a0842f 100644 --- a/sources/cmd/archiver.go +++ b/sources/cmd/archiver.go @@ -8,7 +8,7 @@ import . "github.com/volution/kawipiko/cmd/archiver" -func main () () { +func main () { Main () } diff --git a/sources/cmd/server-dummy.go b/sources/cmd/server-dummy.go index e747710..2d27d54 100644 --- a/sources/cmd/server-dummy.go +++ b/sources/cmd/server-dummy.go @@ -15,7 +15,7 @@ import "github.com/valyala/fasthttp/reuseport" -func main () () { +func main () { runtime.GOMAXPROCS (1) diff --git a/sources/cmd/server.go b/sources/cmd/server.go index 678577c..5971868 100644 --- a/sources/cmd/server.go +++ b/sources/cmd/server.go @@ -8,7 +8,7 @@ import . "github.com/volution/kawipiko/cmd/server" -func main () () { +func main () { Main () } diff --git a/sources/cmd/wrapper.go b/sources/cmd/wrapper.go index b0fd1c5..f015d08 100644 --- a/sources/cmd/wrapper.go +++ b/sources/cmd/wrapper.go @@ -13,7 +13,7 @@ import "github.com/volution/kawipiko/cmd/version" -func main () () { +func main () { if len (os.Args) >= 2 { diff --git a/sources/embedded/variables.go b/sources/embedded/variables.go index 42688f6..f3e8ee4 100644 --- a/sources/embedded/variables.go +++ b/sources/embedded/variables.go @@ -40,7 +40,7 @@ var UNAME_FINGERPRINT string = "{unknown-fingerprint}" -func init () () { +func init () { var _uname unix.Utsname if _error := unix.Uname (&_uname); _error != nil {