Skip to content

Multipart upload(multi files) to aws s3 with gin golang

Notifications You must be signed in to change notification settings

ducnguyen96/uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from https://github.com/apoorvam/aws-s3-multipart-upload

Example

env

awsAccessKeyID=keyID
awsSecretAccessKey=accessKey
awsBucketRegion=Region
awsBucketName=name

server

package main

import (
	"log"

	"github.com/ducnguyen96/uploader"
	"github.com/gin-gonic/gin"
)

func main() {
	srv := gin.Default()
	srv.POST("/upload", uploader.Upload)

	// Run http server
	if err := srv.Run(":8080"); err != nil {
		log.Fatalf("could not run server: %v", err)
	}
}

About

Multipart upload(multi files) to aws s3 with gin golang

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages