Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
github.com/nickway90/go-standard-layout
Reading some articles for designing go standard layout. These are the guidelines that I use:
testdata
folder name for containing test fixturesThis is a small app that consist of 2 entities, User and Article. 1 user can have more than 1 articles. For both entities, there are some sample endpoints provided. I wrap the router and provides basic monitoring using prometheus. I use dep for depedency management. There is simple opentracing implementation in this app. This app is also provided with unit test and parallel database integration test.
The files in the root package contains domain logic (business logic) of the app. cmd
contains entrypoint of the app / command. script
contains shell script that can help to automate the build process, etc. Currently, script
contains script for running test with code coverage preview. The rest of folders are the dependencies of the app. The data layer is at mysql
package. You can find list of endpoints in router
package. HTTP handler is located in handler
package inside server
folder.
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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.