This is google cloud storage integration using Client with ADC or with Credential file .json key form Google Cloud. Using golang gin Gonic and postgres setup documentation using GO.
Help me to improve this code more flexible and esy to use
API
POSTapi/v1/uploadGETapi/v1/download?path=GETapi/v1/listGETapi/v1/list/:folderNamePOSTapi/v1/bucket/createDELETEapi/v1/delete
NEXT update ...
POSTapi/v1/bucket/config
- Gin Gonic Framework
go get -u github.com/gin-gonic/gin
- Gin Contrib Cors
go get -u github.com/gin-contrib/cors
- Gorm
go get -u gorm.io/gorm
- PostgresSQL
go get -u gorm.io/driver/postgres
- Google Cloud Storage
go get -u cloud.google.com/go/storage
- Viper
go get -u github.com/spf13/viper
- Validator Go v10
go get -u github.com/go-playground/validator/v10
- Logrus
go get -u github.com/sirupsen/logrus