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

github.com/willis7/contacts

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/willis7/contacts

  • v0.0.0-20190517091427-722eeea9b2d6
  • Source
  • Go
  • Socket score

Version published
Created
Source

Contacts

This trivial application explores the use of postgresql, docker and golang (templates, go modules, sqlx).

Docker Compose

By mounting the contacts.sql to /docker-entrypoint-initdb.d/contacts.sql the container will run the script as part of the intialisation phase.

Development

For a docker based db and local run of code:

$ docker-compose -f dev-compose.yml up -d db
$ go run main.go -conn "postgresql://sion:example@localhost:5432/contacts" 

For a docker only build

$ docker-compose up --build

FAQs

Package last updated on 17 May 2019

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