Skip to content

Commit

Permalink
add Append to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Sep 25, 2024
1 parent e5e3d56 commit 1e5f556
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ go get -u github.com/milwad-dev/filei
- [Size](#size)
- [Chmod](#chmod)
- [Prepend](#prepend)
- [Append](#append)

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

<a name="append"></a>
# Append

If you want to write to the end of a file, you can use `Append` function:

```go
err := Append(filePath, data)
```

## License

* 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.
Expand Down

0 comments on commit 1e5f556

Please # to comment.