Use go 1.26 syntax

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-06 15:00:42 +01:00
parent 54f80596b6
commit d4b3025463
28 changed files with 136 additions and 167 deletions

View File

@@ -108,7 +108,7 @@ func NewConfig(logger *log.Logger, httpClient *http.Client, opts Options) aws.Co
}
if opts.Endpoint != "" {
cfg.BaseEndpoint = aws.String(opts.Endpoint)
cfg.BaseEndpoint = new(opts.Endpoint)
}
return cfg.Copy()