Table of Contents

go run

What is it?

`go run` compiles your code temporarily and runs it immediately, without producing a permanent binary.

What is it used for?

Examples

    go run .
 
    go run main.go
 
    go run . --port=8080
 

Notes

`go run` is great for local dev. For real deployment, use `go build` to produce a stable binary.

Hard words (English)