From 1570974ab7cfa84716be3879d75726cf3dec62ba Mon Sep 17 00:00:00 2001 From: saxon Date: Mon, 4 Feb 2019 22:14:17 +1030 Subject: [PATCH] stream/mts/encoder.go: removed init func where Meta was being initialised - just doing initialisation on same line --- stream/mts/encoder.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index cc4a699a..6b406536 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -89,11 +89,7 @@ const ( ) // global Meta -var Meta *meta.Metadata - -func init() { - Meta = meta.New() -} +var Meta = meta.New() var ( patTable = standardPat.Bytes()