Skip to content
Are Golang dependencies & packages supported?
Profile icon
myorama

Hi, I need some community packages in a Go project

I've seen packages are configurable through UI but only for javascript, python and ruby languages (https://repl.it/site/docs/repls/packages)

Is there any news about Universal Package Manager, as announced 5 month ago? https://repl.it/talk/announcements/Announcing-Universal-Package-Manager/5201

Will be pretty cool to manage Golan packages too! :D

You are viewing a single comment. View All
Profile icon
TedH1

Go supportes packages when you import them instead of the lazy way
import (
"main/api"
)

You would instead do
import (
api "main/api"
)

To future people reading this, if you're getting a GOROOT error, this is a solution. You have to name your packages when you import them.