Fix Issue #21: automatic calculation of alignment padding after lists
This commit is contained in:
@@ -78,7 +78,7 @@ func (s *Struct) Write(c *Context) {
|
||||
field.Write(c, "v.")
|
||||
c.Putln("")
|
||||
}
|
||||
c.Putln("return buf")
|
||||
c.Putln("return buf[:b]")
|
||||
c.Putln("}")
|
||||
c.Putln("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user