mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-18 19:56:33 -07:00
Engine Handler HTTP Response Tests (#13)
* update handler signatures to use specific store interfaces * allow skipping Docker-based integration tests for local unit runs
This commit is contained in:
parent
64236c99c9
commit
ecae3699f1
10 changed files with 249 additions and 8 deletions
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/gabehf/koito/internal/utils"
|
||||
)
|
||||
|
||||
func GetAlbumHandler(store db.DB) func(w http.ResponseWriter, r *http.Request) {
|
||||
func GetAlbumHandler(store AlbumStore) func(w http.ResponseWriter, r *http.Request) {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
l := logger.FromContext(ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue