Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
81e06369
Commit
81e06369
authored
Dec 19, 2023
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Used the type field names here
parent
529e5cef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ud/search.go
+4
-1
4 additions, 1 deletion
ud/search.go
with
4 additions
and
1 deletion
ud/search.go
+
4
−
1
View file @
81e06369
...
@@ -9,6 +9,7 @@ package ud
...
@@ -9,6 +9,7 @@ package ud
import
(
import
(
"fmt"
"fmt"
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/proto"
"github.com/pkg/errors"
"github.com/pkg/errors"
jww
"github.com/spf13/jwalterweatherman"
jww
"github.com/spf13/jwalterweatherman"
...
@@ -166,7 +167,9 @@ func parseContacts(grp *cyclic.Group, response []*Contact,
...
@@ -166,7 +167,9 @@ func parseContacts(grp *cyclic.Group, response []*Contact,
}
}
var
facts
[]
fact
.
Fact
var
facts
[]
fact
.
Fact
if
c
.
Username
!=
""
{
if
c
.
Username
!=
""
{
facts
=
[]
fact
.
Fact
{{
c
.
Username
,
fact
.
Username
}}
facts
=
[]
fact
.
Fact
{
{
Fact
:
c
.
Username
,
T
:
fact
.
Username
},
}
}
}
// Create new Contact
// Create new Contact
contacts
[
i
]
=
contact
.
Contact
{
contacts
[
i
]
=
contact
.
Contact
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment