From 3fc8f376a65766cf0a3d850ce307b7a6faad4597 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Wed, 17 Jun 2015 19:44:56 -0400 Subject: [PATCH] fix up comments again --- forge.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/forge.go b/forge.go index 366e075..9052e7e 100644 --- a/forge.go +++ b/forge.go @@ -89,22 +89,22 @@ import ( "github.com/brettlangdon/forge/parser" ) -// Parse a forge SectionValue from a string +// ParseString will parse a forge SectionValue from a string func ParseString(data string) (*config.SectionValue, error) { return parser.ParseReader(strings.NewReader(data)) } -// Parse a forge SectionValue from a byte array +// ParseBytes will parse a forge SectionValue from a byte array func ParseBytes(data []byte) (*config.SectionValue, error) { return parser.ParseReader(bytes.NewReader(data)) } -// Parse a forge SectionValue from a filename +// ParseFile will parse a forge SectionValue from a filename func ParseFile(filename string) (*config.SectionValue, error) { return parser.ParseFile(filename) } -// Parse a forge SectionValue from a io.Reader +// ParseReader will parse a forge SectionValue from a io.Reader func ParseReader(reader io.Reader) (*config.SectionValue, error) { return parser.ParseReader(reader) }