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
@@ -37,7 +37,7 @@ import hono
import net.http
fn main() {
mut app := hono.new_hono()
mut app := hono.Hono.new()
// 基本路由
app.get('/', fn (mut c hono.Context) http.Response {