From 0583e03feaac0e89c3f8f534a728c8d8056dc409 Mon Sep 17 00:00:00 2001 From: ddddddO Date: Wed, 9 Feb 2022 21:29:58 +0900 Subject: [PATCH] =?UTF-8?q?=E7=84=A1=E9=A7=84=E3=81=AB=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=82=92=E3=81=97=E3=81=A6=E3=81=97=E3=81=BE=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=9F=E3=82=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tree_json.go | 5 +++++ tree_toml.go | 5 +++++ tree_yaml.go | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/tree_json.go b/tree_json.go index 47768db..74a1b3a 100644 --- a/tree_json.go +++ b/tree_json.go @@ -9,6 +9,11 @@ type jsonTree struct { *tree } +// noop +func (jt *jsonTree) grow() error { + return nil +} + func (jt *jsonTree) spread(w io.Writer) error { enc := json.NewEncoder(w) diff --git a/tree_toml.go b/tree_toml.go index 2334f46..e780e27 100644 --- a/tree_toml.go +++ b/tree_toml.go @@ -10,6 +10,11 @@ type tomlTree struct { *tree } +// noop +func (tt *tomlTree) grow() error { + return nil +} + func (tt *tomlTree) spread(w io.Writer) error { enc := toml.NewEncoder(w) diff --git a/tree_yaml.go b/tree_yaml.go index 4a5d454..2027ca7 100644 --- a/tree_yaml.go +++ b/tree_yaml.go @@ -10,6 +10,11 @@ type yamlTree struct { *tree } +// noop +func (yt *yamlTree) grow() error { + return nil +} + func (yt *yamlTree) spread(w io.Writer) error { enc := yaml.NewEncoder(w)