
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/ZQCard/kbk-layout
方便快速启动服务, 统一项目模板,三键生成微服务
假设项目目录为projectName
kratos new $(projectName) -r git@github.com:ZQCard/kbk-layout.git
此处的projectName的值需要与第一步保持一致
make initProject PROJECT=$(projectName)
make initNewService ServiceUpperName=Store ServiceLowerName=store
以上操作将生成目录为 projectName, 包含服务名称为StoreService的crud服务。
pkg/utils: 常用函数包
环境设置为dev,则为开发环境,可以根据该变量设定规则, 如 debug模式,打印sql
整形数值类型均用int64, proto转json的时候由于精度问题,会将int64类型转为string类型
接口文档在openapi.yaml中
本地开发以及docker部署文件为configs/config-dev.yaml,可在Dockerfile中自行更改
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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.