mirror of
https://github.com/bootdotdev/fcc-learn-golang-assets.git
synced 2025-12-14 09:11:16 +00:00
first
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"question": "What was created after running 'go build'?",
|
||||
"answers": [
|
||||
"An executable file named 'hellogo'",
|
||||
"An executable file named main",
|
||||
"A package named cmd"
|
||||
]
|
||||
}
|
||||
17
course/12-local_development/exercises/8-go_build/readme.md
Normal file
17
course/12-local_development/exercises/8-go_build/readme.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Go Build
|
||||
|
||||
`go build` compiles go code into an executable program
|
||||
|
||||
## Build an executable
|
||||
|
||||
Ensure you are in your hellogo repo, then run:
|
||||
|
||||
```bash
|
||||
go build
|
||||
```
|
||||
|
||||
Run the new program:
|
||||
|
||||
```bash
|
||||
./hellogo
|
||||
```
|
||||
Reference in New Issue
Block a user