
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NISTโs handling of the National Vulnerability Database.
github.com/sundaytycoon/buttons-api
go run cmd/main.go server start # 5001 grpc - 5002 http
๐ git@sundaytycoon/buttons-api
โฃ๐ cmd
โ โ ๐ main.go # [server, entd]๊ฐ ์์
โฃ๐ doc
โ โ ๐ OpenAPI # swagger.json๋ค์ด์ค๋๊ณณ/ swagger-ui ๋ค์ด๋ฐ๋ ๊ณณ
โฃ๐ edge # ๋น์ง๋์ค๋ก์ง ์์ธํ๊ฒ ํ์ง ์์ผ๋ฉด์, ์ธ๋ถ ์๋ฒ๋ ์ต์ข
์ ์ผ๋ก ํต์ ํ๋ ์ฝ๋๋ค
โฃ๐ ent # entd.go ์ generated๋ ํ์ผ๋ค ํ ๋ญํ
์ด
โฃ๐ gen/go/buttons/api/v1 # protobuf๋ก generated๋ golangํ์ผ
โฃ๐ internal # ๋ด๋ถ ๋น์ง๋์ค๋ก์ง ๋ด๋๊ณณ # ๋ฅ๊ฐ์ ์ฝ๋๋ค ๋๋ ๊ณณ
โฃ๐ pkg
โฃ๐ proto # protobuf ํ์ผ๋ค์ด ์์.
make generate-docs # ์๊ฑฐํ๋ฉด ์ฝ๋ dependency graph๊ฐ ๋ฐ๋์ด์
# add model
go run entgo.io/ent/cmd/ent init User
# sync schema
### First, should to modify ent/schema/*.go before synchronizing schema
vi ./ent/schema/*.go # step 1
go generate ./ent # step 2
go run cmd/main.go ent migration # step 3
make protosetup # For set up protobuf using `buf`
make protogen # For generating protobuf
FAQs
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
As vulnerability data bottlenecks grow, the federal government is formally investigating NISTโs handling of the National Vulnerability Database.
Research
Security News
Socketโs Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.