Sfoglia il codice sorgente

docs: remove parent-level path prefix from README

b 1 mese fa
parent
commit
cbf4a33503
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -10,10 +10,10 @@ Go 后端小测试,建议投入 1.5~2 小时,并在收到后 48 小时内
 
 ```bash
 # 启动服务(内存存储 — 默认)
-cd project/cheng-xing && go run main.go
+go run main.go
 
 # 启动服务(SQLite 存储)
-cd project/cheng-xing && STORAGE=sqlite go run main.go
+STORAGE=sqlite go run main.go
 ```
 
 服务启动在 `http://localhost:8080`
@@ -44,7 +44,7 @@ curl -X PUT http://localhost:8080/orders/{id}/cancel \
 ## 测试
 
 ```bash
-cd project/cheng-xing && go test ./... -v -race
+go test ./... -v -race
 ```
 
 ## 业务规则