diff options
author | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 17:30:11 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 17:30:11 -0400 |
commit | 80eb3e2a5ac1dddbbf7bd76e8065298f5257f122 (patch) | |
tree | c371e6e98088dfd2a85fcf2ba7cbfef7631cc79a /fpdf_test.go | |
parent | 700f7107d58a0e933260982522cfceb7648101ac (diff) |
Fix some glitches reported by goreportcard.com
Diffstat (limited to 'fpdf_test.go')
-rw-r--r-- | fpdf_test.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fpdf_test.go b/fpdf_test.go index bda0936..2b12bdd 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -1182,20 +1182,20 @@ func ExampleFpdf_CellFormat_2() { align, txt string } recList := []recType{ - recType{"TL", "top left"}, - recType{"TC", "top center"}, - recType{"TR", "top right"}, - recType{"LM", "middle left"}, - recType{"CM", "middle center"}, - recType{"RM", "middle right"}, - recType{"BL", "bottom left"}, - recType{"BC", "bottom center"}, - recType{"BR", "bottom right"}, + {"TL", "top left"}, + {"TC", "top center"}, + {"TR", "top right"}, + {"LM", "middle left"}, + {"CM", "middle center"}, + {"RM", "middle right"}, + {"BL", "bottom left"}, + {"BC", "bottom center"}, + {"BR", "bottom right"}, } recListBaseline := []recType{ - recType{"AL", "baseline left"}, - recType{"AC", "baseline center"}, - recType{"AR", "baseline right"}, + {"AL", "baseline left"}, + {"AC", "baseline center"}, + {"AR", "baseline right"}, } var formatRect = func(pdf *gofpdf.Fpdf, recList []recType) { linkStr := "" |