Skip to content

irainia/go-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-algorithm

Description

This repository is for learning purpose, containing algorithms.

Dependency

GO Language

The GO programming language version go1.14.4 need to be installed in the system. Go to this link and follow the instruction to install. To check GO version on the environment, run the following command:

go version

example output:

go version go1.14.4 linux/amd64

Go Dep

The Dep, for dependency management tool for Go, version devel should be installed. Go to this link and follow the instruction to install based on the system. To check the installation, we can check its version by running the following command on the terminal:

dep version

Example of the output:

dep:
 version     : devel
 build date  : 
 git hash    : 
 go version  : go1.14.4
 go compiler : gc
 platform    : linux/amd64
 features    : ImportDuringSolve=false

How to Test

In this project root directory, run the following command to test:

make test

To show a more complete coverage and uncovered lines:

make test_coverage

You can check into test_coverage.html file in root project directory. This command also will open interactive coverage tool in your browser if you have one.

How to Build

In this project root directory, run the following command:

make build

There will be a new directory named out with an executable file go-algorithm as the result of the built project.

How to Run

In order to run this project, after building this project, execute the following command in this project root directory:

make run

About

Project for learning purpose, containing algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors