From 2e9d2a5a1d52e11eb773b1db1fe053bae7db7138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Marty?= <joel.marty@cabify.com> Date: Tue, 30 Jul 2019 11:15:24 +0200 Subject: [PATCH] Add comments on exported types --- factory.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/factory.go b/factory.go index 678bf8d..26e5ae2 100644 --- a/factory.go +++ b/factory.go @@ -4,8 +4,10 @@ import ( "context" ) +// DefaultFactory is the factory used to create new loggers var DefaultFactory Factory = NewFactory() +// LoggerFactory creates Logger instances type LoggerFactory interface { For(ctx context.Context) Logger }