Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 306 Bytes
package generator
// Statement is an interface that has a responsibility to generate the golang code.
type Statement interface {
Generate(indentLevel int) (string, error)
func buildIndent(indentLevel int) string {
indent := ""
for i := 0; i < indentLevel; i++ {
indent += "\t"
return indent
You can’t perform that action at this time.