@@ -137,7 +137,7 @@ type BuildEventPayload struct {
137
137
Repository Repository `json:"repository"`
138
138
}
139
139
140
- // Issue contais all of the GitLab issue information
140
+ // Issue contains all of the GitLab issue information
141
141
type Issue struct {
142
142
ID int64 `json:"id"`
143
143
Title string `json:"title"`
@@ -154,7 +154,7 @@ type Issue struct {
154
154
IID int64 `json:"iid"`
155
155
}
156
156
157
- // Build contais all of the GitLab build information
157
+ // Build contains all of the GitLab build information
158
158
type Build struct {
159
159
ID int64 `json:"id"`
160
160
Stage string `json:"stage"`
@@ -170,13 +170,13 @@ type Build struct {
170
170
ArtifactsFile ArtifactsFile `json:"artifactsfile"`
171
171
}
172
172
173
- // ArtifactsFile contais all of the GitLab artifact information
173
+ // ArtifactsFile contains all of the GitLab artifact information
174
174
type ArtifactsFile struct {
175
175
Filename string `json:"filename"`
176
176
Size string `json:"size"`
177
177
}
178
178
179
- // Wiki contais all of the GitLab wiki information
179
+ // Wiki contains all of the GitLab wiki information
180
180
type Wiki struct {
181
181
WebURL string `json:"web_url"`
182
182
GitSSHURL string `json:"git_ssh_url"`
@@ -185,7 +185,7 @@ type Wiki struct {
185
185
DefaultBranch string `json:"default_branch"`
186
186
}
187
187
188
- // Commit contais all of the GitLab commit information
188
+ // Commit contains all of the GitLab commit information
189
189
type Commit struct {
190
190
ID string `json:"id"`
191
191
Message string `json:"message"`
@@ -197,7 +197,7 @@ type Commit struct {
197
197
Removed []string `json:"removed"`
198
198
}
199
199
200
- // BuildCommit contais all of the GitLab build commit information
200
+ // BuildCommit contains all of the GitLab build commit information
201
201
type BuildCommit struct {
202
202
ID int64 `json:"id"`
203
203
SHA string `json:"sha"`
@@ -210,7 +210,7 @@ type BuildCommit struct {
210
210
FinishedAt customTime `json:"finished_at"`
211
211
}
212
212
213
- // Snippet contais all of the GitLab snippet information
213
+ // Snippet contains all of the GitLab snippet information
214
214
type Snippet struct {
215
215
ID int64 `json:"id"`
216
216
Title string `json:"title"`
@@ -225,14 +225,14 @@ type Snippet struct {
225
225
VisibilityLevel int64 `json:"visibility_level"`
226
226
}
227
227
228
- // User contais all of the GitLab user information
228
+ // User contains all of the GitLab user information
229
229
type User struct {
230
230
Name string `json:"name"`
231
231
UserName string `json:"username"`
232
232
AvatarURL string `json:"avatar_url"`
233
233
}
234
234
235
- // Project contais all of the GitLab project information
235
+ // Project contains all of the GitLab project information
236
236
type Project struct {
237
237
Name string `json:"name"`
238
238
Description string `json:"description"`
@@ -250,15 +250,15 @@ type Project struct {
250
250
HTTPURL string `json:"http_url"`
251
251
}
252
252
253
- // Repository contais all of the GitLab repository information
253
+ // Repository contains all of the GitLab repository information
254
254
type Repository struct {
255
255
Name string `json:"name"`
256
256
URL string `json:"url"`
257
257
Description string `json:"description"`
258
258
Homepage string `json:"homepage"`
259
259
}
260
260
261
- // ObjectAttributes contais all of the GitLab object attributes information
261
+ // ObjectAttributes contains all of the GitLab object attributes information
262
262
type ObjectAttributes struct {
263
263
ID int64 `json:"id"`
264
264
Title string `json:"title"`
@@ -307,7 +307,7 @@ type ObjectAttributes struct {
307
307
Assignee Assignee `json:"assignee"`
308
308
}
309
309
310
- // MergeRequest contais all of the GitLab merge request information
310
+ // MergeRequest contains all of the GitLab merge request information
311
311
type MergeRequest struct {
312
312
ID int64 `json:"id"`
313
313
TargetBranch string `json:"target_branch"`
@@ -333,14 +333,14 @@ type MergeRequest struct {
333
333
Assignee Assignee `json:"assignee"`
334
334
}
335
335
336
- // Assignee contais all of the GitLab assignee information
336
+ // Assignee contains all of the GitLab assignee information
337
337
type Assignee struct {
338
338
Name string `json:"name"`
339
339
Username string `json:"username"`
340
340
AvatarURL string `json:"avatar_url"`
341
341
}
342
342
343
- // StDiff contais all of the GitLab diff information
343
+ // StDiff contains all of the GitLab diff information
344
344
type StDiff struct {
345
345
Diff string `json:"diff"`
346
346
NewPath string `json:"new_path"`
@@ -352,7 +352,7 @@ type StDiff struct {
352
352
DeletedFile bool `json:"deleted_file"`
353
353
}
354
354
355
- // Source contais all of the GitLab source information
355
+ // Source contains all of the GitLab source information
356
356
type Source struct {
357
357
Name string `json:"name"`
358
358
Description string `json:"description"`
@@ -370,7 +370,7 @@ type Source struct {
370
370
HTTPURL string `json:"http_url"`
371
371
}
372
372
373
- // Target contais all of the GitLab target information
373
+ // Target contains all of the GitLab target information
374
374
type Target struct {
375
375
Name string `json:"name"`
376
376
Description string `json:"description"`
@@ -388,7 +388,7 @@ type Target struct {
388
388
HTTPURL string `json:"http_url"`
389
389
}
390
390
391
- // LastCommit contais all of the GitLab last commit information
391
+ // LastCommit contains all of the GitLab last commit information
392
392
type LastCommit struct {
393
393
ID string `json:"id"`
394
394
Message string `json:"message"`
@@ -397,7 +397,7 @@ type LastCommit struct {
397
397
Author Author `json:"author"`
398
398
}
399
399
400
- // Author contais all of the GitLab author information
400
+ // Author contains all of the GitLab author information
401
401
type Author struct {
402
402
Name string `json:"name"`
403
403
Email string `json:"email"`
0 commit comments