mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-10 02:00:24 +08:00
普适化 template
This commit is contained in:
@@ -17,7 +17,7 @@ func init() {
|
||||
func main() {
|
||||
fmt.Printf("Preparing new document to write at %s\n", *fileLocation)
|
||||
|
||||
w := docxlib.New()
|
||||
w := docxlib.NewA4()
|
||||
// add new paragraph
|
||||
para1 := w.AddParagraph()
|
||||
// add text
|
||||
|
||||
Reference in New Issue
Block a user