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

Get hands-on training in TensorFlow, cloud computing, blockchain, Python, Java, and many other topics. Spotlight on Cloud: The Future of Internet Security with Bruce Schneier , April 4. Introduction to Google Cloud Platform , June 3-4. Introduction to Google Cloud Platform , June 3-4. AI and machine learning. Programming.

Course 48
Insiders

Sign Up for our Newsletter

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

article thumbnail

New live online training courses

O'Reilly Media - Ideas

Get hands-on training in Docker, microservices, cloud native, Python, machine learning, and many other topics. AI-driven Future State Cloud Operations , June 7. Spotlight on Cloud: Mitigating Cloud Complexity to Ensure Your Organization Thrives with David Linthicum , August 1. AI and machine learning. Programming.

Course 65
article thumbnail

219+ live online training courses opened for June and July

O'Reilly Media - Ideas

Get hands-on training in Docker, microservices, cloud native, Python, machine learning, and many other topics. AI-driven Future State Cloud Operations , June 7. Spotlight on Cloud: Mitigating Cloud Complexity to Ensure Your Organization Thrives with David Linthicum , August 1. AI and machine learning. Programming.

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. Advanced TDD (Test-Driven Development) , March 15. Java Testing with Mockito and the Hamcrest Matchers , March 19. Discovering Modern Java , March 1.

article thumbnail

170+ live online training courses opened for March and April

O'Reilly Media - Ideas

Test-Driven Development in Python , March 28. Developing Applications on Google Cloud Platform , April 29-30. Beginner's Guide to Writing AWS Lambda Functions in Python , April 1. Introduction to Google Cloud Platform , April 3-4. Introduction to Google Cloud Platform , April 3-4.

Course 10