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
6801b405
Commit
6801b405
authored
Mar 17, 2018
by
Steve Norman
Committed by
Sander van Harmelen
Mar 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing last_activity_on value for a user (#355)
parent
f6ca383e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gitlab.go
gitlab.go
+5
-0
users.go
users.go
+1
-0
No files found.
gitlab.go
View file @
6801b405
...
...
@@ -117,6 +117,11 @@ func (t *ISOTime) UnmarshalJSON(data []byte) error {
return
err
}
// String implements the Stringer interface
func
(
t
ISOTime
)
String
()
string
{
return
time
.
Time
(
t
)
.
Format
(
iso8601
)
}
// NotificationLevelValue represents a notification level.
type
NotificationLevelValue
int
...
...
users.go
View file @
6801b405
...
...
@@ -50,6 +50,7 @@ type User struct {
ExternUID
string
`json:"extern_uid"`
Provider
string
`json:"provider"`
ThemeID
int
`json:"theme_id"`
LastActivityOn
*
ISOTime
`json:"last_activity_on"`
ColorSchemeID
int
`json:"color_scheme_id"`
IsAdmin
bool
`json:"is_admin"`
AvatarURL
string
`json:"avatar_url"`
...
...
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