Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adrianblade/codewars_golang_solution

Codewars kata training
https://github.com/adrianblade/codewars_golang_solution

codewars codewars-golang codewars-kata

Last synced: about 9 hours ago
JSON representation

Codewars kata training

Awesome Lists containing this project

README

        

# Codewars Golang Katas

[![CodeWars](https://www.codewars.com/users/adrianblade/badges/large)](https://www.codewars.com/users/adrianblade)

## My Solutions
| kyu | Codewars Kate | My Solutions |
| --- | --- | --- |
| 8 | [Highest and Lowest](https://www.codewars.com/kata/554b4ac871d6813a03000035) | [highest_and_lowest.go](https://github.com/adrianblade/codewars_golang_solution/blob/master/kyu8/highest_and_lowest/src/highest_and_lowest.go) |

## To execute script

To run the program, put the code in hello-world.go and use go run.

`$ go run hello-world.go
hello world`

Sometimes we’ll want to build our programs into binaries. We can do this using go build.

`$ go build hello-world.go
$ ls
hello-world hello-world.go`

We can then execute the built binary directly.

`$ ./hello-world
hello world`

## To execute test

go test # to run your tests