增加配置文件

This commit is contained in:
2026-06-02 13:52:47 +08:00
parent 6117222625
commit aab3aeb5b2
31 changed files with 3326 additions and 198 deletions
+14
View File
@@ -0,0 +1,14 @@
# GoBlog 配置文件
server:
port: 8080
mode: debug # debug 或 release
database:
driver: sqlite # sqlite 或 mysql
dsn: goblog.db # SQLite文件路径或MySQL DSN
app:
name: GoBlog
description: 一个简洁的个人博客
author: Admin
theme: default # 主题名称