Skip to content

Commit f3574cc

Browse files
author
shijiashuai
committed
fix: name return values in Client.identity to satisfy gocritic
1 parent 39bc5a7 commit f3574cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/signal/hub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func NewHubWithOptions(opts Options) *Hub {
7878
return h
7979
}
8080

81-
func (c *Client) identity() (string, string) {
81+
func (c *Client) identity() (id, room string) {
8282
c.mu.RLock()
8383
defer c.mu.RUnlock()
8484
return c.id, c.room

0 commit comments

Comments
 (0)