New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/debanjanbarman/golang-async-logging-library

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/debanjanbarman/golang-async-logging-library

  • v1.0.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

To use the test runner:

  • navigate into the ./cmd directory
  • if run with the defaults (go run .), the application will run in asynchronous mode and write it's output directly to the shell
    • the -out flag allows a destination file to be specified
    • the -async flag determines if the logger will asynchronously or not. It is async by default, which will not work properly in the application's initial condition.

To run the tests

  • use the go test command from the command line
  • to focus on a specific test, use the -run flag followed by a pattern that matches the test name
    • e.g. go test -run MessageChannel will run the first test of the first module
  • all tests for a given module can be run by passing the module identifier to the -run command
    • e.g. go test -v -run Module1

FAQs

Package last updated on 11 Apr 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc