fix: goimports — strip unused imports from all server files
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"log/slog"
|
||||
"gophergate/internal/db"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"gophergate/internal/db"
|
||||
"gophergate/internal/utils"
|
||||
)
|
||||
|
||||
type ApiResponse struct {
|
||||
@@ -166,4 +162,3 @@ func (s *Server) handleLogout(c *gin.Context) {
|
||||
}
|
||||
c.JSON(http.StatusOK, SuccessResponse(gin.H{"message": "Logged out"}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user