You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
291 B
21 lines
291 B
2 months ago
|
package s3
|
||
|
|
||
|
import (
|
||
|
"wallet-system/internal/conf"
|
||
|
"wallet-system/internal/pkg/aws/s3"
|
||
|
)
|
||
|
|
||
|
// NewClientS3
|
||
|
//
|
||
|
// @Description:
|
||
|
// @param c
|
||
|
// @return *s3.S3Client
|
||
|
func NewClientS3(c *conf.Aws) *s3.S3Client {
|
||
|
s3Client, err := s3.NewS3(c)
|
||
|
if err != nil {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
return s3Client
|
||
|
}
|