sort internal imports separately from external

This commit is contained in:
Lilian Jónsdóttir 2024-01-24 11:46:04 -08:00
parent 5021bb256d
commit 5afd5faf96
3 changed files with 7 additions and 5 deletions

View file

@ -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,

View file

@ -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.

View file

@ -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/"