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
jeremejazz

Hi I have just bumped into this. I tried running a code that requires an external package and it worked. As of 1.11 Go supports modules.
Currently no package manager on the UI unlike python or javascript but if you run the script with an import statment requiring an external package, go will automatically download the package and generate go.mod at the same time.
Here is the example script I have tried to run that uses goquery https://repl.it/@jeremejazz/Golang-1

Profile icon
myorama

@jeremejazz
great !