Skip to content

Commit

Permalink
add comment to JSON Setup and HCL Setup function
Browse files Browse the repository at this point in the history
  • Loading branch information
patdhlk committed Dec 11, 2015
1 parent c2b4d25 commit 2ec0bf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hcl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions json.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2ec0bf7

Please sign in to comment.