I wanted to render text between center aligned text. This is what I tried
html := pdf.HTMLBasicNew()
_, lineHt := pdf.GetFontSize()
html.Write(lineHt, "<center>My name is <b>Bot<b></center>")
but only My name is is aligned to center instead of whole text My name is Bot
How can I achieve this with gofpdf or any other package in go to achieve this?