Skip to content

run

  • Compiles and immediately executes go code
# run single file
go run main.go

# run multiple files (useful when running multiple files that compose the same package)
go run main.go deck.go