Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cf0a4ca5
Commit
cf0a4ca5
authored
Jan 21, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
Jan 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tip about Go packages
parent
411579d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
doc/user/project/index.md
doc/user/project/index.md
+14
-0
No files found.
doc/user/project/index.md
View file @
cf0a4ca5
...
@@ -149,3 +149,17 @@ When [renaming a user](../profile/index.md#changing-your-username),
...
@@ -149,3 +149,17 @@ When [renaming a user](../profile/index.md#changing-your-username),
work after a rename, making any transition a lot smoother.
work after a rename, making any transition a lot smoother.
-
The redirects will be available as long as the original path is not claimed by
-
The redirects will be available as long as the original path is not claimed by
another group, user or project.
another group, user or project.
## Use your project as a Go package
Any project can be used as a Go package including private projects in subgroups. To use packages
hosted in private projects with the
`go get`
command, use a
[
`.netrc` file
](
https://ec.haxx.se/usingcurl-netrc.html
)
and a personal access token in the password field.
For example:
```
text
machine example.gitlab.com
login <gitlab_user_name>
password <personal_access_token>
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment