Comments (4)
原来是要 将 {user}\go\bin 加到path里, 前期准备没说清楚;
from sponge.
另外对window用户太不友好, 安装时,要可用linux命令, 可以装一个git, 通过git bash来运行sponge init
另外的make docs, make run 就没法执行了, 需要根据 makefile里执行步骤进行相应的window上操作, 其实就是go的安装运行
文档里也不说清楚点...
from sponge.
现在编程辅助工具插件那么多, 这种crud的操作, 基本都能自动生成, 有点鸡肋, 不如多试下那些插件 chatmoss, codeGeex, 通义灵码, kimi, openai, codeium, copilot,tabnine, 360智能助手 ...
from sponge.
安装sponge文档有写具体安装步骤,在windows环境支持两种安装方式:
sponge.exe安装在$GOBIN目录下,不要在$GOBIN目录执行sponge run
命令启动ui界面服务,否则生成代码时会报相对路径错误,但可以在$GOBIN目录执行sponge命令行方式来生成代码。
我也常使用AI辅助编程工具(chatGPT 4、claude 3、fitten code, codeium等),只是用来生成某些功能片段代码,不少生成的代码还要经过人工调整才能使用,这样也可以提高一些编程效率,但不要过于神话AI辅助编程工具。例如让AI辅助工具 基于mysql的user表生成go语言的CRUD代码,要求使用gin和gorm框架,要求CRUD代码支持自定义条件查询,支持分页、支持缓存(防击穿、防穿透)、支持swagger文档等
,试过多种AI辅助工具生成的CRUD代码没有一个能满足实际项目要求的。
from sponge.
Related Issues (20)
- Will consider support GraphQL ? HOT 2
- 能不能将生成代码的功能拆分成一个工具,独立使用 HOT 2
- 可以考虑将rpcx加入进去
- 移除表前缀 HOT 1
- 下载代码报错 HOT 1
- 集成组件更新 HOT 1
- 有使用过goframe吗? HOT 1
- sponge init 失败 HOT 1
- cannot find package HOT 1
- 使用postgres数据库床建一个项目失败 HOT 4
- 如何使用goland运行和Debug生成出来的项目 HOT 5
- 一定要go1.20版本? HOT 1
- 有一个小疑问。。 HOT 2
- 生成文档时swag会报错 HOT 3
- go install sponge error HOT 1
- 使用web UI生成代码b格不够高,有无命令行使用方式 HOT 1
- 评价 HOT 1
- 有计划把go-redis裤,改成v9版本么? HOT 1
- 无法正确安装指定的版本 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sponge.