Skip to content

Commit 5c32353

Browse files
committed
chore(naming): change list parameter names to plural
1 parent f98e770 commit 5c32353

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

use.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ func (n *Notify) useService(service Notifier) {
88
}
99

1010
// useServices adds the given service(s) to the Notifier's services list.
11-
func (n *Notify) useServices(service ...Notifier) {
12-
for _, s := range service {
11+
func (n *Notify) useServices(services ...Notifier) {
12+
for _, s := range services {
1313
n.useService(s)
1414
}
1515
}
1616

1717
// UseServices adds the given service(s) to the Notifier's services list.
18-
func (n *Notify) UseServices(service ...Notifier) {
19-
n.useServices(service...)
18+
func (n *Notify) UseServices(services ...Notifier) {
19+
n.useServices(services...)
2020
}
2121

2222
// UseServices adds the given service(s) to the Notifier's services list.
23-
func UseServices(service ...Notifier) {
24-
std.UseServices(service...)
23+
func UseServices(services ...Notifier) {
24+
std.UseServices(services...)
2525
}

0 commit comments

Comments
 (0)