mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Add ghost client to renderer handler
This commit is contained in:
@@ -5,11 +5,14 @@ import (
|
||||
|
||||
routing "github.com/jackwhelpton/fasthttp-routing/v2"
|
||||
"github.com/valyala/fasthttp"
|
||||
|
||||
"code.tokarch.uk/mainnika/nikita-tokarch-uk/frontend/ghost"
|
||||
"code.tokarch.uk/mainnika/nikita-tokarch-uk/frontend/templates"
|
||||
)
|
||||
|
||||
// Renderer is the main handler that contains all routes handlers
|
||||
type Renderer struct {
|
||||
GhostClient ghost.Client
|
||||
Base string
|
||||
|
||||
router *routing.Router
|
||||
|
||||
Reference in New Issue
Block a user