Creating a project with dep integration
GoLand lets you create and import a project with the dep integration that helps you manage dependencies in your project.
Before you start creating or importing your project, make sure that the dep distribution is downloaded on your computer.
- Select .
- On the page that opens, select Dep, specify project information and the location of the downloaded dep distribution. Click Create.
- GoLand creates a project, runs the
dep initcommand and displays the appropriate message.
After your project is successfully created or imported, you can develop your project further .
When GoLand comes across an unresolved import statement, it offers you to run the
dep ensure command to import the dependency in question.
GoLand adds the dependency to the vendor directory in the Project tool window.