Skip to content
Sign upLog in
← Back to Community

How would I put the run part in .replit file for .go

Profile icon
DAREALYTYGRUNN1Hacker

Im new to
.go
And i want to test some stuff out with this discord bot github code found here https://github.com/jonas747/yagpdb
I am not the creator of this bot im just using the coding to see some features i could get by using .go

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
edwardLeo
Profile icon
DAREALYTYGRUNN1
Comments
hotnewtop
Profile icon
Coder100

Use go run:

run="go run [file].go"
Profile icon
RohilPatel

Just do something like this:

language = "go" run="go run mainfilehere.go"

Please mark as correct if this helped

Profile icon
Coder100

That's c++

@RohilPatel

Profile icon
RohilPatel

Lmao

@Coder100

Profile icon
RohilPatel

What's the correct way then

@Coder100