From cb4dea930c5ce3f3fdf85bdaf793a899d6106259 Mon Sep 17 00:00:00 2001 From: jinzhu Date: Tue, 29 Mar 2022 16:31:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8D=E5=AD=98=E5=9C=A8,?= =?UTF-8?q?=20=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 17 ----------------- README.md | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 3976e37..0000000 --- a/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -GOBIN := $(shell go env GOBIN) -ATDIR := $(shell pwd) - -# 只维护 protoc -protoc: - go run main.go make:protoc - -make-route: - go run main.go make:route - -make-bean: - go run main.go make:bean - -# 调试启动 -dev:protoc make-route make-bean - - diff --git a/README.md b/README.md index 4c6b249..baa5229 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ connections: ````shell user@macOs path $ toolset make:orm -config=./config/database.yaml -out=your_path ```` -使用, 基本上和php laravel 很类似 +使用, 基本上和`php` `laravel` 很类似, 如果不使用整套的`home`代码, 应该在生成目录下编写新的`NewOrmUsers`函数 ````go orm := NewOrmUsers() user, has := orm.WhereId(1).First()