Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 18, 2022 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/535c4281b7a444912c2ee225dfe16470 to your computer and use it in GitHub Desktop.
Save richardgrantserverless/535c4281b7a444912c2ee225dfe16470 to your computer and use it in GitHub Desktop.
// lib/hello-world.js
class HelloWorld {
sayHello(event) {
return {
message: 'Go Serverless v1.0! Your function executed successfully!',
input: event,
};
}
}
module.exports = HelloWorld;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment