Commit 3bf3fe20 authored by Sander van Harmelen's avatar Sander van Harmelen

Fix some typos in comments

parent c35b3f71
...@@ -371,7 +371,7 @@ func newResponse(r *http.Response) *Response { ...@@ -371,7 +371,7 @@ func newResponse(r *http.Response) *Response {
} }
// populatePageValues parses the HTTP Link response headers and populates the // populatePageValues parses the HTTP Link response headers and populates the
// various pagination link values in the Reponse. // various pagination link values in the Response.
func (r *Response) populatePageValues() { func (r *Response) populatePageValues() {
if links, ok := r.Response.Header["Link"]; ok && len(links) > 0 { if links, ok := r.Response.Header["Link"]; ok && len(links) > 0 {
for _, link := range strings.Split(links[0], ",") { for _, link := range strings.Split(links[0], ",") {
......
...@@ -24,7 +24,7 @@ type NotificationSettings struct { ...@@ -24,7 +24,7 @@ type NotificationSettings struct {
Events *NotificationEvents `json:"events"` Events *NotificationEvents `json:"events"`
} }
// NotificationEvents represents the avialable notification setting events. // NotificationEvents represents the available notification setting events.
// //
// GitLab API docs: // GitLab API docs:
// https://docs.gitlab.com/ce/api/notification_settings.html#notification-settings // https://docs.gitlab.com/ce/api/notification_settings.html#notification-settings
......
...@@ -21,7 +21,7 @@ import ( ...@@ -21,7 +21,7 @@ import (
"net/url" "net/url"
) )
// ProjectProjectMembersService handles communication with the project members // ProjectMembersService handles communication with the project members
// related methods of the GitLab API. // related methods of the GitLab API.
// //
// GitLab API docs: https://docs.gitlab.com/ce/api/members.html // GitLab API docs: https://docs.gitlab.com/ce/api/members.html
......
...@@ -129,7 +129,7 @@ type ProjectStatistics struct { ...@@ -129,7 +129,7 @@ type ProjectStatistics struct {
CommitCount int `json:"commit_count"` CommitCount int `json:"commit_count"`
} }
// Permissions represents premissions. // Permissions represents permissions.
type Permissions struct { type Permissions struct {
ProjectAccess *ProjectAccess `json:"project_access"` ProjectAccess *ProjectAccess `json:"project_access"`
GroupAccess *GroupAccess `json:"group_access"` GroupAccess *GroupAccess `json:"group_access"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment