mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-02 22:07:07 +00:00
Update vendor (mattermost)
This commit is contained in:
9
vendor/github.com/mattermost/platform/model/gitlab/gitlab.go
generated
vendored
9
vendor/github.com/mattermost/platform/model/gitlab/gitlab.go
generated
vendored
@@ -65,6 +65,15 @@ func gitLabUserFromJson(data io.Reader) *GitLabUser {
|
||||
}
|
||||
}
|
||||
|
||||
func (glu *GitLabUser) ToJson() string {
|
||||
b, err := json.Marshal(glu)
|
||||
if err != nil {
|
||||
return ""
|
||||
} else {
|
||||
return string(b)
|
||||
}
|
||||
}
|
||||
|
||||
func (glu *GitLabUser) IsValid() bool {
|
||||
if glu.Id == 0 {
|
||||
return false
|
||||
|
Reference in New Issue
Block a user