From ce6c47adc8228924349430a4d628262ca7f2e304 Mon Sep 17 00:00:00 2001 From: Demian Date: Tue, 15 Sep 2020 18:36:11 +0300 Subject: [PATCH] layout: fix nil map --- layout/layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/layout.go b/layout/layout.go index 289e668..fe83778 100644 --- a/layout/layout.go +++ b/layout/layout.go @@ -43,7 +43,7 @@ func New(path string) (*Layout, error) { return nil, err } - var lt Layout + lt := Layout{ctxs: make(map[tele.Context]string)} return <, yaml.Unmarshal(data, <) }