mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 01:02:58 +00:00
comments: Fix format
This commit is contained in:
parent
cb28e470c2
commit
6466037947
|
@ -853,12 +853,12 @@ type DefaultMention struct {
|
|||
roleId RoleID `json:"-"`
|
||||
}
|
||||
|
||||
// Creates new DefaultUserMention type with only UserID
|
||||
// DefaultUserMention creates a new DefaultMention type with only UserID
|
||||
func DefaultUserMention (userId UserID) DefaultMention {
|
||||
return DefaultMention{userId: userId}
|
||||
}
|
||||
|
||||
// Creates new DefaultRoleMention type with only RoleID
|
||||
// DefaultRoleMention creates a new DefaultMention type with only RoleID
|
||||
func DefaultRoleMention(roleId RoleID) DefaultMention {
|
||||
return DefaultMention{roleId: roleId}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue