File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ func main() {
5050
5151### ` Box struct ` Methods
5252
53- ` Box.Print(title, lines string) ` prints Box from the specified arguements .
53+ ` Box.Print(title, lines string) ` prints Box from the specified arguments .
5454
5555- Parameters
5656 - ` title ` : Title of the Box
5757 - ` lines ` : Content to be written inside the Box
5858
59- ` Box.Println(title, lines string) ` prints Box in a newline from the specified arguements .
59+ ` Box.Println(title, lines string) ` prints Box in a newline from the specified arguments .
6060
6161- Parameters
6262 - ` title ` : Title of the Box
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ func (b Box) findAlign() string {
2626 return centerAlign
2727 } else if b .Con .ContentAlign == "Right" {
2828 return rightAlign
29+ } else if b .Con .ContentAlign == "Left" {
30+ return leftAlign
2931 } else {
3032 fmt .Fprintln (os .Stderr , "Invalid Alignment provided, using default Alignment" )
3133 return leftAlign
You can’t perform that action at this time.
0 commit comments