Skip to content

Commit 1e5f556

Browse files
committed
add Append to readme
1 parent e5e3d56 commit 1e5f556

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ go get -u github.com/milwad-dev/filei
3636
- [Size](#size)
3737
- [Chmod](#chmod)
3838
- [Prepend](#prepend)
39+
- [Append](#append)
3940

4041
<a name="upload-file"></a>
4142
### UploadFile
@@ -161,6 +162,15 @@ If you want to write to the beginning of a file, you can use `Prepend` function:
161162
err := Prepend(filePath, data)
162163
```
163164

165+
<a name="append"></a>
166+
# Append
167+
168+
If you want to write to the end of a file, you can use `Append` function:
169+
170+
```go
171+
err := Append(filePath, data)
172+
```
173+
164174
## License
165175

166176
* This package is created and modified by <a href="https://github.com/milwad-dev" target="_blank">Milwad Khosravi</a> for Laravel upper more than 9 and has been released under the MIT License.

0 commit comments

Comments
 (0)