article thumbnail

Stubbing AWS Service calls in Golang

Xebia

But I am also a big fan of test driven development. Client } func New() (*Lambda, error) { cfg, err := config.LoadDefaultConfig(context.TODO()) m := new(Lambda) m.SetS3Client(s3.NewFromConfig(cfg)) NewFromConfig(cfg)) return m, err } func (x *Lambda) SetS3Client(client *s3.Client) PutObjectInput) (*s3.PutObjectOutput,

AWS 130
article thumbnail

150+ live online training courses opened for April and May

O'Reilly Media - Ideas

Learning Python 3 by Example , May 2. Beginner’s Guide to Writing AWS Lambda Functions in Python , May 7. Next-Generation Java Testing with JUnit 5 , May 15. Programming with Java Lambdas and Streams , May 16. Test-Driven Development In Python , May 21. Software Architecture by Example , May 17.

Course 47
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

New live online training courses

O'Reilly Media - Ideas

Advanced Test-Driven Development (TDD) , June 27. Test-Driven Development In Python , June 28. Learning Python 3 by Example , July 1. Domain-driven design and event-driven microservices , July 23-24. Software Architecture by Example , July 24. Pythonic design patterns , June 27.

Course 64
article thumbnail

219+ live online training courses opened for June and July

O'Reilly Media - Ideas

Advanced Test-Driven Development (TDD) , June 27. Test-Driven Development In Python , June 28. Learning Python 3 by Example , July 1. Domain-driven design and event-driven microservices , July 23-24. Software Architecture by Example , July 24. Pythonic design patterns , June 27.

Course 49
article thumbnail

Using Golang for your Serverless projects

Xebia

In one of my previous blogs I wrote why I switched to compiled languages for my lambda functions. But using Golang for your lambda functions does add some challenges. This is because each lambda function needs to be its own module. This is now scattered over your lambda functions. If you run go test./.

article thumbnail

170+ live online training courses opened for March and April

O'Reilly Media - Ideas

Beginner’s Guide to Writing AWS Lambda Functions in Python , March 1. Programming with Java Lambdas and Streams , March 5. Bootiful Testing , March 6. Learning Python 3 by Example , March 7. Advanced TDD (Test-Driven Development) , March 15. Software Architecture by Example , February 21.

article thumbnail

170+ live online training courses opened for March and April

O'Reilly Media - Ideas

Test-Driven Development in Python , March 28. Beginner's Guide to Writing AWS Lambda Functions in Python , April 1. Designing Serverless Architecture with AWS Lambda , April 15-16. Software Architecture by Example , April 18. Developing Incremental Architecture , April 18-19. Clean Code , April 2.

Course 10