golang - Codecademy Course
golang - Codecademy Course

Bibliography
- Author: Terms of Service
- Full_Title: golang - Codecademy Course
- Category: articles
- URL: https://www.codecademy.com/courses/learn-go/lessons/learn-go-introduction/exercises/compiling
- Last Highlighted Date: 2023-02-03 02:30:59.318854+00:00
Highlights
- In our terminal, we type in go build followed by the name of our file and press Enter. If we wanted to run a file called greet.go, the command will look like:
go build greet.go
- Open in Readwise ^rw468514567
- To execute the file, we call:
./greet
- Open in Readwise ^rw468514573
Tags: