dherault / serverless-offline

Emulate AWS λ and API Gateway locally when developing your Serverless project
MIT License
5.16k stars 794 forks source link

feat: Add support for golang workspace #1738

Closed DavideSegullo closed 9 months ago

DavideSegullo commented 9 months ago

Description

This PR adds support for golang workspaces.

Motivation and Context

Without these changes, the golang runner, only worked in cases where the entire application was within a module.

This then allows us to use workspaces as well without major modifications.

How Has This Been Tested?

I have added two examples to show the case where go is integrated using a module or using a workspace.

dnalborczyk commented 9 months ago

thank you @DavideSegullo