Skip to content

mgar/golang-sandbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Golang Sandbox

This repository is aimed to help me learn Golang in a Docker container

Prerequisites

Infrastructure wise you'll need:

  • Docker environment reachable by the docker client, I recommend installing Docker Toolbox
  • Being in a Unix-like system which has make available

Start development

The make command will start the development environment and run the make dev and make logs targets

make

Other commands

Accessing the container

make enter

  Write the name of the service that you want to access, possible choices are:

  golang

  Service name: redis
root@b9616088331e:/#

Viewing logs

make logs

Stopping it

make kill

Restarting it

make restart

Removing everything

It will also stop the environment if its running

make nodev

Folders

ops/

This folder will enclose all of the System Operations information, and code necessary to get the application up and running.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 76.6%
  • Shell 17.5%
  • Makefile 5.9%