18 lines
258 B
Go
18 lines
258 B
Go
package context
|
|
|
|
import (
|
|
"context"
|
|
"database/sql"
|
|
"net/http"
|
|
|
|
"gitea.com/go-chi/session"
|
|
)
|
|
|
|
type Context struct {
|
|
context.Context
|
|
DB *sql.DB
|
|
ResponseWriter http.ResponseWriter
|
|
Request *http.Request
|
|
Session session.Store
|
|
}
|