Categorygithub.com/fanadewi/go-cloudinary
repositorypackage
0.0.1
Repository: https://github.com/fanadewi/go-cloudinary.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GoCloudinary

Go Report Card GoDoc Open Source Helpers Release TODOs

Upload files to Cloudinary

Installing

  • install go-cloudinary
$ go get -u github.com/fanadewi/go-cloudinary
  • Import it in your code:
import "github.com/fanadewi/go-cloudinary"

Quick start

uploader := cloud.CloudinaryRequest{
		File:        file.File,
		CloudName:   conf.CloudName,
		CloudKey:    conf.CloudKey,
		CloudSecret: conf.CloudSecret,
	}

c.JSON(http.StatusOK, uploader.Upload())

Authors