
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/one-hole/gonrails-cli
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Critical CVE and High CVE
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.