Browse Source

Adjusts comment style based on feedback

Andy Lindeman 9 years ago
parent
commit
dccec7b5f1
No known key found for this signature in database GPG Key ID: AB1CED47756930F7
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      github/admin.go

+ 2
- 4
github/admin.go View File

@ -14,8 +14,7 @@ import "fmt"
// GitHub API docs: https://developer.github.com/v3/enterprise/ // GitHub API docs: https://developer.github.com/v3/enterprise/
type AdminService service type AdminService service
// TeamLDAPMapping represents the mapping between a GitHub team and an LDAP
// group.
// TeamLDAPMapping represents the mapping between a GitHub team and an LDAP group.
type TeamLDAPMapping struct { type TeamLDAPMapping struct {
ID *int `json:"id,omitempty"` ID *int `json:"id,omitempty"`
LDAPDN *string `json:"ldap_dn,omitempty"` LDAPDN *string `json:"ldap_dn,omitempty"`
@ -34,8 +33,7 @@ func (m TeamLDAPMapping) String() string {
return Stringify(m) return Stringify(m)
} }
// UserLDAPMapping represents the mapping between a GitHub user and an LDAP
// user.
// UserLDAPMapping represents the mapping between a GitHub user and an LDAP user.
type UserLDAPMapping struct { type UserLDAPMapping struct {
ID *int `json:"id,omitempty"` ID *int `json:"id,omitempty"`
LDAPDN *string `json:"ldap_dn,omitempty"` LDAPDN *string `json:"ldap_dn,omitempty"`


Loading…
Cancel
Save