Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
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
dex
Commits
e8763531
Commit
e8763531
authored
Nov 15, 2018
by
Alexander Matyushentsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename variables to stop shadowing package name
parent
a9f71e37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
github.go
connector/github/github.go
+5
-5
No files found.
connector/github/github.go
View file @
e8763531
...
@@ -390,12 +390,12 @@ func (c *githubConnector) userGroups(ctx context.Context, client *http.Client) (
...
@@ -390,12 +390,12 @@ func (c *githubConnector) userGroups(ctx context.Context, client *http.Client) (
}
}
groups
:=
make
([]
string
,
0
)
groups
:=
make
([]
string
,
0
)
for
_
,
o
rg
:=
range
orgs
{
for
_
,
o
:=
range
orgs
{
if
teams
,
ok
:=
orgTeams
[
o
rg
];
!
ok
{
if
teams
,
ok
:=
orgTeams
[
o
];
!
ok
{
groups
=
append
(
groups
,
o
rg
)
groups
=
append
(
groups
,
o
)
}
else
{
}
else
{
for
_
,
t
eam
:=
range
teams
{
for
_
,
t
:=
range
teams
{
groups
=
append
(
groups
,
formatTeamName
(
o
rg
,
team
))
groups
=
append
(
groups
,
formatTeamName
(
o
,
t
))
}
}
}
}
}
}
...
...
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