refact: renamed server to backend
This commit is contained in:
parent
8dc085c6a0
commit
f4a96db942
10 changed files with 58 additions and 29 deletions
12
modules/backend/types.go
Normal file
12
modules/backend/types.go
Normal 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"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue