Style: format code by gofumpt (#761)

This commit is contained in:
yuhan6665 authored and GitHub committed 2021-10-20 00:57:14 +08:00
1 parent d77be80b40
commit e286cdcaa8
111 files changed
+293 -291

No files matched your search

+1 -3
View File
@@ -11,9 +11,7 @@ type HandlerCreatorOptions struct {
type HandlerCreator func(LogType, HandlerCreatorOptions) (log.Handler, error)
var (
handlerCreatorMap = make(map[LogType]HandlerCreator)
)
var handlerCreatorMap = make(map[LogType]HandlerCreator)
func RegisterHandlerCreator(logType LogType, f HandlerCreator) error {
if f == nil {