Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/vsychov/go-rating-stars

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/vsychov/go-rating-stars

  • v0.1.7
  • Source
  • Go
  • Socket score

Version published
Created
Source

Build Status codecov Go Reference Go Report Card Docker Repository on Quay

#Load env execute bash command

set -o allexport; source .env; set +o allexport

#Health check

curl -iL -XGET -H "X-Health-Check: 1" http://localhost:8080

#Storages GoVote can use Postgress or Redis for store data.

#Generate mocks

mockery --output tests/mocks --recursive --name=StorageInterface

#Env variables PGSQL_ADDR=pgsql PGSQL_USER=gorm PGSQL_PASSWORD=gorm PGSQL_DBNAME=gorm PGSQL_PORT=9920 PGSQL_SSLMODE=disable PGSQL_TIMEZONE=Europe/London

REDIS_ADDR= REDIS_DB= REDIS_PASSWORD=

STORAGE_TYPE=pgsql or redis (default - pgsql), redis not fully implemented yet

CLIENT_IP_HEADER="X-Real-Ip" #gin TrustedPlatform

FAQs

Package last updated on 15 Dec 2021

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