Skip to content

benjgrad/COMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COMP

Building the DockerFile

You can build the DockerFile found in the current directory . and tag it comp

docker build -t comp .

Running the image

Now that the image is built, we can run it. Some notable flags are -d as detached, and -p 1234:1234 for port mapping (eg. in web applications).

docker run --name Cmg.Tools -d comp

Running code locally without docker

When in dev, it's useful to run the code using

go run src/comp/comp.go <linked list | other commands>

Testing

To test, run go test <filename>. For verbose output include the -v flag.

go test -v src/comp/datastructures/linkedlist/linkedlist_test.go

For further information, refer to https://pkg.go.dev/testing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published