Parcourir la source

doc: 添加文档

double.huang il y a 4 ans
Parent
commit
4acf533f77
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      README.md

+ 12 - 0
README.md

@@ -0,0 +1,12 @@
+### INSTALL goctl
+GO111MODULE=on go get -u git.i2edu.net/i2/go-zero/tools/goctl
+
+### GEN RPC CODE
+goctl rpc proto -src transform.proto -dir .
+
+### GEN MODEL
+goctl model mysql ddl -c -src model/student.sql -dir model
+goctl model mysql ddl -c -src model/sys_user.sql -dir model
+
+### RUN RPC SRV 
+go run transform.go -f etc/i2bill-erp.yaml