mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-23 12:00:39 +08:00
Clarify building
This commit is contained in:
@@ -39,6 +39,7 @@ go get github.com/gonfva/docxlib
|
|||||||
See [main](main/main.go) for an example
|
See [main](main/main.go) for an example
|
||||||
|
|
||||||
```
|
```
|
||||||
|
$ go build -o docxlib ./main
|
||||||
$ ./docxlib
|
$ ./docxlib
|
||||||
Preparing new document to write at /tmp/new-file.docx
|
Preparing new document to write at /tmp/new-file.docx
|
||||||
Document writen.
|
Document writen.
|
||||||
@@ -47,13 +48,14 @@ Now trying to read it
|
|||||||
We've found a new run with the text ->test font size
|
We've found a new run with the text ->test font size
|
||||||
We've found a new run with the text ->test color
|
We've found a new run with the text ->test color
|
||||||
We've found a new run with the text ->test font size and color
|
We've found a new run with the text ->test font size and color
|
||||||
|
We've found a new hyperlink with ref http://google.com and the text google
|
||||||
End of main
|
End of main
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go build -o docxlib ./main
|
$ go build ./...
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
Reference in New Issue
Block a user