sort internal imports separately from external
This commit is contained in:
parent
5021bb256d
commit
5afd5faf96
|
@ -3,10 +3,11 @@ package main
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/config"
|
||||
"git.burning.moe/celediel/burning.moe/internal/handlers"
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/go-chi/chi/v5/middleware"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/config"
|
||||
"git.burning.moe/celediel/burning.moe/internal/handlers"
|
||||
)
|
||||
|
||||
// routes handles all of the HTTP setup. Middleware is enabled,
|
||||
|
|
|
@ -5,9 +5,10 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/models"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/ilyakaznacheev/cleanenv"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/models"
|
||||
)
|
||||
|
||||
// AppConfig contains data to be accessed across the app.
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/models"
|
||||
|
||||
"github.com/ilyakaznacheev/cleanenv"
|
||||
|
||||
"git.burning.moe/celediel/burning.moe/internal/models"
|
||||
)
|
||||
|
||||
const dataDir string = "./templates/data/"
|
||||
|
|
Loading…
Reference in a new issue