
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
github.com/qianzy96/ant-forum-admin
启动
go run main.go
生成api文档
swag init
访问 http://localhost:8080/swagger/index.html
go get -v github.com/cosmtrek/air/cmd/...
可以复制 https://github.com/cosmtrek/air 里面的air.conf.example内容
根目录下
air
db.Save(&user)会一同更新created_at。为了使created_at字段的值不被重置,可以使用Omit忽略字段。即:db.Omit("created_at").Save(&user)
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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.