The MrAndreID/GoPackage is a collection of functions for package in Go Language.
- Installation
- Usage
- Versioning
- Authors
- Contributing
- Official Documentation for Go Language
- License
- More
To use The MrAndreID/GoPackage, you must follow the steps below:
- Get Dependancies
go get -u github.com/MrAndreID/gopackageTo use The MrAndreID/GoPackage, you must ensure that you meet the following requirements:
import (
"github.com/MrAndreID/gopackage"
"github.com/labstack/echo/v4"
)
e := echo.New()
e.Validator = gopackage.CustomValidator()import (
"github.com/MrAndreID/gopackage"
"github.com/labstack/echo/v4"
)
e := echo.New()
e.HTTPErrorHandler = gopackage.EchoCustomHTTPErrorHandlerimport (
"github.com/MrAndreID/gopackage"
"github.com/labstack/echo/v4"
)
e := echo.New()
e.JSONSerializer = gopackage.CustomJSON()import (
"github.com/MrAndreID/gopackage"
)
gopackage.DataTable(
ctx,
queryBuilder,
[]string{"name", "level"},
"name",
"asc",
"id",
"desc",
page,
&limit,
request.Search,
false,
)import (
"github.com/MrAndreID/gopackage"
)
if err := gopackage.EchoBindRequest(c, &req); err != nil {
return err
}import (
"github.com/MrAndreID/gopackage"
)
seaweedFSData, err := gopackage.NewSeaweedFS("127.0.0.1", "9333", false)
if err != nil {
return err
}
publicURL, err := seaweedFSData.Upload(base64File)
if err != nil {
return err
}
base64File, err := seaweedFSData.Download(publicURL)
if err != nil {
return err
}
err := seaweedFSData.Delete(publicURL)
if err != nil {
return err
}I use Semantic Versioning. For the versions available, see the tags on this repository.
Andrea Adam - MrAndreID
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
Documentation for Go Language can be found on the Go Package website.
The MrAndreID/GoPackage is released under the MIT License. See the LICENSE file for more information.
Documentation can be found on https://go.dev/.