mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-02 20:28:38 -04:00
Begin splitting models from handlers with User
This commit is contained in:
@ -2,6 +2,7 @@ package handlers
|
||||
|
||||
import (
|
||||
"github.com/aclindsa/gorp"
|
||||
"github.com/aclindsa/moneygo/internal/models"
|
||||
"log"
|
||||
"net/http"
|
||||
"path"
|
||||
@ -16,7 +17,7 @@ type ResponseWriterWriter interface {
|
||||
|
||||
type Context struct {
|
||||
Tx *Tx
|
||||
User *User
|
||||
User *models.User
|
||||
remainingURL string // portion of URL path not yet reached in the hierarchy
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user