Socket
Book a DemoInstallSign in
Socket

github.com/isd-sgcu/golang-backend-template

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/isd-sgcu/golang-backend-template

v0.0.0-20230205100309-ba0383e1ed35
Source
Go
Version published
Created
Source

Goland backend template

Stacks

  • golang
  • gRPC
  • mysql
  • redis
  • rabbitmq

Getting Start

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • golang 1.19 or later
  • docker
  • makefile

Installing

  • Clone the project from Goland Backend
  • Import project
  • Copy app.example.yaml in config and paste it in the same location then remove .example from its name.
  • Download dependencies by go mod download

Testing

  • Run go test -v -coverpkg ./src/internal/... -coverprofile coverage.out -covermode count ./src/internal/... or make test

Running

  • Run docker-compose up -d or make compose-up
  • Run go run ./src/. or make server

Compile proto file

  • Run make proto

FAQs

Package last updated on 05 Feb 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.