From 7b62921b4e6873169d482b4652b407461ee38d43 Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Fri, 28 Apr 2017 12:30:00 -0700 Subject: [PATCH] Pedantic comment updates. --- user.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user.go b/user.go index 88e098e..b3a7e4b 100644 --- a/user.go +++ b/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) }