From 1be7e08b9e5afa1b664bebd2a4e2c879ad7a38f4 Mon Sep 17 00:00:00 2001 From: saxon Date: Sun, 27 Jan 2019 16:56:14 +1030 Subject: [PATCH] stream/mts: renamed Format function for metadata to Encode --- stream/mts/meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/mts/meta.go b/stream/mts/meta.go index c8d70ca2..7ab9cd3a 100644 --- a/stream/mts/meta.go +++ b/stream/mts/meta.go @@ -84,7 +84,7 @@ func (m *Meta) Delete(key string) error { return errors.New("Trying to delete map entry that doesn't exist") } -func (m *Meta) Format() []byte { +func (m *Meta) Encode() []byte { // TODO: complete this return []byte("someData") }