소스 검색

Pedantic comment updates.

Chris Rhodes 7 년 전
부모
커밋
7b62921b4e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      user.go

+ 2 - 2
user.go

@@ -15,12 +15,12 @@ type User struct {
 	Bot           bool   `json:"bot"`
 }
 
-//String returns a unique identifier of the form username#discriminator
+// String returns a unique identifier of the form username#discriminator
 func (u *User) String() string {
 	return fmt.Sprintf("%s#%s", u.Username, u.Discriminator)
 }
 
-//Mention return a string which mentions the user
+// Mention return a string which mentions the user
 func (u *User) Mention() string {
 	return fmt.Sprintf("<@%s>", u.ID)
 }