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

github.com/dkhorkov/hmtm-notifications

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dkhorkov/hmtm-notifications

  • v1.1.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Usage

Before usage need to create network for correct dependencies work:

task -d scripts network -v

Run via docker:

To run app and it's dependencies in docker, use next command:

task -d scripts prod -v

Run via source files:

To run application via source files, use next commands:

  1. Run all application dependencies:
task -d scripts local -v
  1. Run application:
go run ./cmd/server/server.go

gRPC:

To setup protobuf, use next command:

task -d scripts setup_proto -v

To generate files from.proto, use next command:

task -d scripts grpc_generate -v

Linters

To run linters, use next command:

task -d scripts linters -v

Tests

To run test, use next commands.Coverage docs will be recorded to coverage folder:

task -d scripts tests -v

Benchmarks

To run benchmarks, use next command:

task -d scripts bench -v

Migrations

To create migration file, use next command:

task -d scripts makemigrations NAME={{migration name}}

To apply all available migrations, use next command:

task -d scripts migrate

To migrate up to a specific version, use next command:

task -d scripts migrate_to VERSION={{migration version}}

To rollback migrations to a specific version, use next command:

task -d scripts downgrade_to VERSION={{migration version}}

To rollback all migrations (careful!), use next command:

task -d scripts downgrade_to_base

To print status of all migrations, use next command:

task -d scripts migrations_status

Tracing

To see tracing open next link in browser.

NATS

To see NATS monitoring open next link in browser.

FAQs

Package last updated on 20 Feb 2025

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