Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/adrianblade/codewars_golang_solution
- Owner: adrianblade
- Created: 2019-08-03T12:01:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T16:26:07.000Z (over 5 years ago)
- Last Synced: 2023-03-03T18:37:57.077Z (almost 2 years ago)
- Topics: codewars, codewars-golang, codewars-kata
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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