From 3cc1c874dfe10ee462a280c66f0b2f5034c181e9 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 27 Aug 2020 21:29:30 +0200 Subject: [PATCH] Add comment on exported function --- pkg/middleware/options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/middleware/options.go b/pkg/middleware/options.go index 79058ef483..a67ba5e28a 100644 --- a/pkg/middleware/options.go +++ b/pkg/middleware/options.go @@ -77,6 +77,7 @@ func AccountsClient(ac acc.AccountsService) Option { } } +// SettingsRoleService provides a function to set the role service option. func SettingsRoleService(rc settings.RoleService) Option { return func(o *Options) { o.SettingsRoleService = rc