mirror of
https://github.com/evilsocket/arc.git
synced 2024-05-26 22:37:37 +03:00
fix: recursive go fmt
This commit is contained in:
@@ -45,10 +45,12 @@ type AuthResponse struct {
|
||||
//
|
||||
// Consumes:
|
||||
// - application/json
|
||||
//
|
||||
// Produces:
|
||||
// - application/json
|
||||
//
|
||||
// Responses:
|
||||
//
|
||||
// 200: authResponse
|
||||
// 400: errorResponse
|
||||
// 403: errorResponse
|
||||
|
||||
@@ -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.")
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
1224
webui/compiled.go
1224
webui/compiled.go
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user