mirror of
https://github.com/ordinary-dev/phoenix
synced 2024-09-19 19:30:28 +05:00
style: group imports
This commit is contained in:
parent
5738476c6b
commit
f0f8d4ff8d
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue