You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can create a S3Store (or another name) like FileSystemStore in the saver.go file.
like,
package baraka
typeS3Storestruct {
// specific settings
}
funcNewS3Store(/* specific settings */) S3Store {
returnS3Store{
// specific settings
}
}
func (sS3Store) Save(pathstring, filenamestring, part*Part) error {
// specific things to upload part's bytes to the s3
}
so, we can easily upload the files to the s3 with this implementation.
The text was updated successfully, but these errors were encountered:
We can create a
S3Store
(or another name) likeFileSystemStore
in the saver.go file.like,
so, we can easily upload the files to the s3 with this implementation.
The text was updated successfully, but these errors were encountered: