'How to use Go dep with GitLab subgroups

I have a Go project that requires some dependencies from a private GitLab repository like git.mydomain.com/myteam/category/subcategory/project.git. But I'm getting this error.

ensure Solve(): remote repository at https://git.mydomain.com/myteam/category.git does not exist or is inaccessible: : exit status 128


Solution 1:[1]

I think the best solution would be to use a proxy-server like athens. You could add your Gitlab-Credentials and use it as proxy-server. Athens then would handle authentication.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 alexzimmer96