
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
github.com/one-hole/gonrails-cli
go get -u github.com/one-hole/gonrails-cli
gonrails-cli new yourproject-name
gonrails-cli new kalista
The command is gonrails-cli generate controller yourcontroller action list
eg:
gonrails-cli generate controller users index update show
gonrails-cli generate controller admin/users index update show
gonrails-cli new yourproject-name
1. 生成相应的项目(目录和文件)
2. 生成 Go Mod 文件
3. 执行 `go mod tidy`
gonrails-cli help [command]
gonrails-cli generate model your-model-name
gonrails-cli generate controller your-controller-name action list
gonrails-cli generate help
目前已经可以使用的功能:
一些其他的思考:
Gonrails
项目里面的部分东西组件化抽象,这样就可以避免生成新的琐碎的代码****Gonrails
和 gonrails-cli
两个项目FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.