style: group imports

This commit is contained in:
Ivan R. 2024-01-03 17:15:49 +05:00
parent 5738476c6b
commit f0f8d4ff8d
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
5 changed files with 12 additions and 7 deletions

View file

@ -1,9 +1,10 @@
package views
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/ordinary-dev/phoenix/config"
"net/http"
)
func ShowError(ctx *gin.Context, cfg *config.Config, err error) {

View file

@ -2,12 +2,13 @@ package views
import (
"fmt"
"net/http"
"strconv"
"github.com/gin-gonic/gin"
"github.com/ordinary-dev/phoenix/config"
"github.com/ordinary-dev/phoenix/database"
"gorm.io/gorm"
"net/http"
"strconv"
)
func CreateGroup(cfg *config.Config, db *gorm.DB) gin.HandlerFunc {

View file

@ -1,11 +1,12 @@
package views
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/ordinary-dev/phoenix/config"
"github.com/ordinary-dev/phoenix/database"
"gorm.io/gorm"
"net/http"
)
func ShowMainPage(cfg *config.Config, db *gorm.DB) gin.HandlerFunc {

View file

@ -2,12 +2,13 @@ package views
import (
"fmt"
"net/http"
"strconv"
"github.com/gin-gonic/gin"
"github.com/ordinary-dev/phoenix/config"
"github.com/ordinary-dev/phoenix/database"
"gorm.io/gorm"
"net/http"
"strconv"
)
func CreateLink(cfg *config.Config, db *gorm.DB) gin.HandlerFunc {

View file

@ -1,11 +1,12 @@
package views
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/ordinary-dev/phoenix/config"
"github.com/ordinary-dev/phoenix/database"
"gorm.io/gorm"
"net/http"
)
func ShowSettings(cfg *config.Config, db *gorm.DB) gin.HandlerFunc {