
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
github.com/suraneni01/petstore-api
Advanced tools
Service is a lightweight proxy fot pet-store API example that additonaly handles input validation.
cmd | app configuration and running
internal | app internal logic
petstore | stores client to pet-store API logic
client_mock.go | auto-generated mock for API client
client_test.go | unit-tests for API client
client.go | HTTP API client implementation
interface.go | declares client external contract
models.go | declates models and types
server | stores service logic
models.go | declares request/response models
server_test.go | unit-tests for service
server.go | HTTP service implementation
vendor \
go.mod | dependencies
go.sum /
GET http://{HOST}/pets | Return list of pets
GET http://{HOST}/pets/id | Return pet by id
POST http://{HOST}/pets | Adds new pet
go run cmd/main.go
go test -v ./...
```#� �P�E�T�S�T�O�R�E�-�A�P�I�
�
�
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
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.