diff --git a/config/config.go b/config/config.go index 21a7a36..68d5d78 100644 --- a/config/config.go +++ b/config/config.go @@ -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 diff --git a/main.go b/main.go index 9ac77ea..8055453 100644 --- a/main.go +++ b/main.go @@ -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 // Шаблоны страниц