Permalink
Browse files

fs: Remove commented out fields.

So far, these fields haven't been needed. Remove them, since they can
be easily brought back if needed.
  • Loading branch information...
dmitshur committed Dec 2, 2017
1 parent 447cdd8 commit ea6e2dcba7b7dc09cf5e7a898d8bc34b76eb42af
Showing with 0 additions and 10 deletions.
  1. +0 −10 fs/schema.go
View
@@ -18,10 +18,6 @@ type user struct {
AvatarURL string `json:",omitempty"`
HTMLURL string `json:",omitempty"`
// CONSIDER.
//CreatedAt time.Time
//UpdatedAt time.Time
SiteAdmin bool `json:",omitempty"`
}
@@ -40,9 +36,6 @@ func fromUser(u users.User) user {
AvatarURL: u.AvatarURL,
HTMLURL: u.HTMLURL,
//CreatedAt: u.CreatedAt,
//UpdatedAt: u.UpdatedAt,
SiteAdmin: u.SiteAdmin,
}
}
@@ -62,9 +55,6 @@ func (u user) User() users.User {
AvatarURL: u.AvatarURL,
HTMLURL: u.HTMLURL,
//CreatedAt: u.CreatedAt,
//UpdatedAt: u.UpdatedAt,
SiteAdmin: u.SiteAdmin,
}
}

0 comments on commit ea6e2dc

Please sign in to comment.