format
This commit is contained in:
parent
90507b2987
commit
2196dc48d4
3 changed files with 6 additions and 3 deletions
|
@ -2,9 +2,10 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
"net/http"
|
||||
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/config"
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/middlewares"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type App struct {
|
||||
|
|
|
@ -2,8 +2,9 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/handlers"
|
||||
"net/http"
|
||||
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/handlers"
|
||||
)
|
||||
|
||||
func AddRoutes(router *http.ServeMux, db *sql.DB) {
|
||||
|
|
|
@ -4,8 +4,9 @@ import (
|
|||
"context"
|
||||
"database/sql"
|
||||
"errors"
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/queries"
|
||||
"net/http"
|
||||
|
||||
"git.katuwoss.dev/JustScreaMy/secret-santa/internal/queries"
|
||||
)
|
||||
|
||||
func HandleGetUsers(db *sql.DB) http.HandlerFunc {
|
||||
|
|
Reference in a new issue