@@ -137,7 +137,7 @@ type BuildEventPayload struct {
137137 Repository Repository `json:"repository"`
138138}
139139
140- // Issue contais all of the GitLab issue information
140+ // Issue contains all of the GitLab issue information
141141type Issue struct {
142142 ID int64 `json:"id"`
143143 Title string `json:"title"`
@@ -154,7 +154,7 @@ type Issue struct {
154154 IID int64 `json:"iid"`
155155}
156156
157- // Build contais all of the GitLab build information
157+ // Build contains all of the GitLab build information
158158type Build struct {
159159 ID int64 `json:"id"`
160160 Stage string `json:"stage"`
@@ -170,13 +170,13 @@ type Build struct {
170170 ArtifactsFile ArtifactsFile `json:"artifactsfile"`
171171}
172172
173- // ArtifactsFile contais all of the GitLab artifact information
173+ // ArtifactsFile contains all of the GitLab artifact information
174174type ArtifactsFile struct {
175175 Filename string `json:"filename"`
176176 Size string `json:"size"`
177177}
178178
179- // Wiki contais all of the GitLab wiki information
179+ // Wiki contains all of the GitLab wiki information
180180type Wiki struct {
181181 WebURL string `json:"web_url"`
182182 GitSSHURL string `json:"git_ssh_url"`
@@ -185,7 +185,7 @@ type Wiki struct {
185185 DefaultBranch string `json:"default_branch"`
186186}
187187
188- // Commit contais all of the GitLab commit information
188+ // Commit contains all of the GitLab commit information
189189type Commit struct {
190190 ID string `json:"id"`
191191 Message string `json:"message"`
@@ -197,7 +197,7 @@ type Commit struct {
197197 Removed []string `json:"removed"`
198198}
199199
200- // BuildCommit contais all of the GitLab build commit information
200+ // BuildCommit contains all of the GitLab build commit information
201201type BuildCommit struct {
202202 ID int64 `json:"id"`
203203 SHA string `json:"sha"`
@@ -210,7 +210,7 @@ type BuildCommit struct {
210210 FinishedAt customTime `json:"finished_at"`
211211}
212212
213- // Snippet contais all of the GitLab snippet information
213+ // Snippet contains all of the GitLab snippet information
214214type Snippet struct {
215215 ID int64 `json:"id"`
216216 Title string `json:"title"`
@@ -225,14 +225,14 @@ type Snippet struct {
225225 VisibilityLevel int64 `json:"visibility_level"`
226226}
227227
228- // User contais all of the GitLab user information
228+ // User contains all of the GitLab user information
229229type User struct {
230230 Name string `json:"name"`
231231 UserName string `json:"username"`
232232 AvatarURL string `json:"avatar_url"`
233233}
234234
235- // Project contais all of the GitLab project information
235+ // Project contains all of the GitLab project information
236236type Project struct {
237237 Name string `json:"name"`
238238 Description string `json:"description"`
@@ -250,15 +250,15 @@ type Project struct {
250250 HTTPURL string `json:"http_url"`
251251}
252252
253- // Repository contais all of the GitLab repository information
253+ // Repository contains all of the GitLab repository information
254254type Repository struct {
255255 Name string `json:"name"`
256256 URL string `json:"url"`
257257 Description string `json:"description"`
258258 Homepage string `json:"homepage"`
259259}
260260
261- // ObjectAttributes contais all of the GitLab object attributes information
261+ // ObjectAttributes contains all of the GitLab object attributes information
262262type ObjectAttributes struct {
263263 ID int64 `json:"id"`
264264 Title string `json:"title"`
@@ -307,7 +307,7 @@ type ObjectAttributes struct {
307307 Assignee Assignee `json:"assignee"`
308308}
309309
310- // MergeRequest contais all of the GitLab merge request information
310+ // MergeRequest contains all of the GitLab merge request information
311311type MergeRequest struct {
312312 ID int64 `json:"id"`
313313 TargetBranch string `json:"target_branch"`
@@ -333,14 +333,14 @@ type MergeRequest struct {
333333 Assignee Assignee `json:"assignee"`
334334}
335335
336- // Assignee contais all of the GitLab assignee information
336+ // Assignee contains all of the GitLab assignee information
337337type Assignee struct {
338338 Name string `json:"name"`
339339 Username string `json:"username"`
340340 AvatarURL string `json:"avatar_url"`
341341}
342342
343- // StDiff contais all of the GitLab diff information
343+ // StDiff contains all of the GitLab diff information
344344type StDiff struct {
345345 Diff string `json:"diff"`
346346 NewPath string `json:"new_path"`
@@ -352,7 +352,7 @@ type StDiff struct {
352352 DeletedFile bool `json:"deleted_file"`
353353}
354354
355- // Source contais all of the GitLab source information
355+ // Source contains all of the GitLab source information
356356type Source struct {
357357 Name string `json:"name"`
358358 Description string `json:"description"`
@@ -370,7 +370,7 @@ type Source struct {
370370 HTTPURL string `json:"http_url"`
371371}
372372
373- // Target contais all of the GitLab target information
373+ // Target contains all of the GitLab target information
374374type Target struct {
375375 Name string `json:"name"`
376376 Description string `json:"description"`
@@ -388,7 +388,7 @@ type Target struct {
388388 HTTPURL string `json:"http_url"`
389389}
390390
391- // LastCommit contais all of the GitLab last commit information
391+ // LastCommit contains all of the GitLab last commit information
392392type LastCommit struct {
393393 ID string `json:"id"`
394394 Message string `json:"message"`
@@ -397,7 +397,7 @@ type LastCommit struct {
397397 Author Author `json:"author"`
398398}
399399
400- // Author contais all of the GitLab author information
400+ // Author contains all of the GitLab author information
401401type Author struct {
402402 Name string `json:"name"`
403403 Email string `json:"email"`
0 commit comments