Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
5061e9cd
Commit
5061e9cd
authored
Aug 03, 2015
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4 from svanharmelen/dev
Return a pointer instead
parents
2ab1a4eb
b8b6e4b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gitlab.go
gitlab.go
+3
-2
No files found.
gitlab.go
View file @
5061e9cd
...
...
@@ -149,8 +149,9 @@ func NewClient(httpClient *http.Client, token string) *Client {
}
// BaseURL return a copy of the baseURL.
func
(
c
*
Client
)
BaseURL
()
url
.
URL
{
return
*
c
.
baseURL
func
(
c
*
Client
)
BaseURL
()
*
url
.
URL
{
u
:=
*
c
.
baseURL
return
&
u
}
// SetBaseURL sets the base URL for API requests to a custom endpoint. urlStr
...
...
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