Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 17e5cd6

Browse files
author
Adrián Catalán
committed
Add testing arch
1 parent ff7e2a5 commit 17e5cd6

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

‎README.md‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,28 @@
66
## My Solutions
77
| kyu | Codewars Kate | My Solutions |
88
| --- | --- | --- |
9-
| 8 | [Highest and Lowest](https://www.codewars.com/kata/554b4ac871d6813a03000035) | [highest_and_lowest.go](https://github.com/adrianblade/codewars_golang_solution/8kyu/highest_and_lowest/src/highest_and_lowest.go) |
9+
| 8 | [Highest and Lowest](https://www.codewars.com/kata/554b4ac871d6813a03000035) | [highest_and_lowest.go](https://github.com/adrianblade/codewars_golang_solution/8kyu/highest_and_lowest/src/highest_and_lowest.go) |
10+
11+
12+
## To execute script
13+
14+
To run the program, put the code in hello-world.go and use go run.
15+
16+
`$ go run hello-world.go
17+
hello world`
18+
19+
Sometimes we’ll want to build our programs into binaries. We can do this using go build.
20+
21+
`$ go build hello-world.go
22+
$ ls
23+
hello-world hello-world.go`
24+
25+
We can then execute the built binary directly.
26+
27+
`$ ./hello-world
28+
hello world`
29+
30+
## To execute test
31+
32+
go test # to run your tests
33+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /