blah blah about OOP and Go! (to be completed...)
In order to follow the instruction and run the test inside the container, you need to have the docker installed on your host machine.
You could run the commands by starting: ~$ make up
build
to build the containerbuild-force
to build the container ignoring cached packagesup
anddown
used to up and down the Golang containerssh
to gain an access to tty of running container
Build and Run the Golang container:
~$ docker-compose -f docker/docker-compose.yml up -d
Enter the Golang Container:
~$ docker-compose -f docker/docker-compose.yml exec golang bash
Shutdown the Golang container:
~$ docker-compose -f docker/docker-compose.yml down
In order for IDE to detect the location based on replace path in go.mod
. Please create a symlink like command below:
ln -s ln -s YOUR-GO-PATH-DIRECTORY/go-oop/src YOUR-GO-PATH-DIRECTORY/src/github.com/neg0/go-oop