fix: recursive go fmt

This commit is contained in:
Simone Margaritelli
2024-04-06 10:43:34 -04:00
parent 288b5e668d
commit 56effa16a7
8 changed files with 639 additions and 633 deletions

View File

@@ -45,10 +45,12 @@ type AuthResponse struct {
//
// Consumes:
// - application/json
//
// Produces:
// - application/json
//
// Responses:
//
// 200: authResponse
// 400: errorResponse
// 403: errorResponse

View File

@@ -72,6 +72,7 @@ func SafeBind(c *gin.Context, obj interface{}) error {
// - application/json
//
// Responses:
//
// 200: Status
func GetStatus(c *gin.Context) {
// utils.Api(log.DEBUG, c, "Requested status.")
@@ -91,6 +92,7 @@ func ClearEvents(c *gin.Context) {
// - application/json
//
// Responses:
//
// 200: Configuration
func GetConfig(c *gin.Context) {
utils.Api(log.DEBUG, c, "Requested configuration.")

View File

@@ -12,8 +12,8 @@ import (
"fmt"
"github.com/evilsocket/arc/config"
"github.com/evilsocket/arc/db"
"github.com/evilsocket/islazy/log"
"github.com/evilsocket/arc/utils"
"github.com/evilsocket/islazy/log"
"github.com/gin-gonic/gin"
)

View File

@@ -9,8 +9,8 @@ package controllers
import (
"github.com/evilsocket/arc/db"
"github.com/evilsocket/islazy/log"
"github.com/evilsocket/arc/utils"
"github.com/evilsocket/islazy/log"
"github.com/gin-gonic/gin"
)

View File

@@ -8,8 +8,8 @@
package db
import (
"github.com/evilsocket/islazy/log"
"github.com/evilsocket/arc/utils"
"github.com/evilsocket/islazy/log"
"github.com/theckman/go-flock"
"path/filepath"
"strings"

View File

@@ -11,8 +11,8 @@ import (
"compress/gzip"
"fmt"
"github.com/evilsocket/arc/config"
"github.com/evilsocket/islazy/log"
"github.com/evilsocket/arc/utils"
"github.com/evilsocket/islazy/log"
"io"
"os"
"path/filepath"

File diff suppressed because it is too large Load Diff