master
serr 2025-04-05 18:28:20 +03:00
parent daf390bf6c
commit 5374e47fb5
2 changed files with 6 additions and 9 deletions

View File

@ -5,15 +5,6 @@ import (
"os"
)
/*
For server start (author's note to self):
sudo systemctl stop server.service
go build main.go
sudo systemctl start server.service
*/
type Config struct {
AssetsPath string
TemplatesPath string

View File

@ -14,6 +14,12 @@ import (
"time"
)
/*
sudo systemctl stop server.service
go build main.go
sudo systemctl start server.service
*/
// App представляет основное состояние приложения
type App struct {
Templates *template.Template // Шаблоны страниц