From 1e5f556c0d45854ef146fce7577e57ea12263a9a Mon Sep 17 00:00:00 2001 From: Milwad Date: Wed, 25 Sep 2024 14:55:04 +0330 Subject: [PATCH] add `Append` to readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 99c2921..823b311 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ go get -u github.com/milwad-dev/filei - [Size](#size) - [Chmod](#chmod) - [Prepend](#prepend) +- [Append](#append) ### UploadFile @@ -161,6 +162,15 @@ If you want to write to the beginning of a file, you can use `Prepend` function: err := Prepend(filePath, data) ``` + +# 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 Milwad Khosravi for Laravel upper more than 9 and has been released under the MIT License.