From 2ec0bf7ae2d3122c663b9adf8741c489e1a3c69b Mon Sep 17 00:00:00 2001 From: patdhlk
Date: Fri, 11 Dec 2015 20:04:40 +0100 Subject: [PATCH] add comment to JSON Setup and HCL Setup function --- hcl.go | 1 + json.go | 1 + 2 files changed, 2 insertions(+) diff --git a/hcl.go b/hcl.go index ab8f42c..ff4b6cc 100644 --- a/hcl.go +++ b/hcl.go @@ -34,6 +34,7 @@ type HCL struct { gen func() (io.Reader, error) } +// Setup initializes the HCL Checker func (h *HCL) Setup() error { r, err := h.gen() if err != nil { diff --git a/json.go b/json.go index 12a61a6..27fefca 100644 --- a/json.go +++ b/json.go @@ -32,6 +32,7 @@ type JSON struct { gen func() (io.Reader, error) } +//Setup initializes the JSON Checker func (j *JSON) Setup() error { r, err := j.gen() if err != nil {