From f7b87291ccb55c3e8e0c7792992df8c3522fe2c2 Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Mon, 11 Mar 2019 00:50:41 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.go b/eval.go index 368f86c..97b9478 100644 --- a/eval.go +++ b/eval.go @@ -208,7 +208,7 @@ func (prog *Program) Load(i int) (string, syntax.Position) { return id.Name, id.Pos } -// WriteTo writes the compiled module to the specified output stream. +// Write writes the compiled module to the specified output stream. func (prog *Program) Write(out io.Writer) error { return prog.compiled.Write(out) } // ExecFile parses, resolves, and executes a Skylark file in the