chore: change new_hono to Hono.new

This commit is contained in:
yangshangbo
2025-07-07 13:51:38 +08:00
parent aca60cb4fa
commit f039f24af1
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ fn get_content_type(file_path string) string {
```v
import hono
mut app := hono.new_hono()
mut app := hono.Hono.new()
// 使用默认配置
app.use(hono.serve_static_default())