refact: renamed server to backend

This commit is contained in:
nihonium 2025-10-09 14:45:41 +03:00
parent 8dc085c6a0
commit f4a96db942
Signed by: nihonium
GPG key ID: 0251623741027CFC
10 changed files with 58 additions and 29 deletions

12
modules/backend/types.go Normal file
View file

@ -0,0 +1,12 @@
package main
type Config struct {
Mode string
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
}
type Item struct {
ID int `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
}