Add pagination for "my books" display

This commit is contained in:
2025-11-10 20:44:47 +01:00
parent 870158e489
commit 87f6daef18
13 changed files with 355 additions and 24 deletions

View File

@@ -14,6 +14,7 @@ type Config struct {
DemoDataPath string `toml:"demo_data_path" comment:"The path to the sql file to load for demo data."`
JWTKey string `toml:"jwt_key" comment:"The key used to encrypt the generated JWT. Encoded in base64. If empty a random one will be generated on every restart."`
ImageFolderPath string `toml:"image_folder_path" default:"img" comment:"Folder where uploaded files will be stored."`
Limit int `toml:"limit" default:"100" comment:"Folder where uploaded files will be stored."`
}
func defaultConfig() Config {
@@ -23,6 +24,7 @@ func defaultConfig() Config {
DemoDataPath: "",
JWTKey: "",
ImageFolderPath: "img",
Limit: 100,
}
}