Browse Source

code example

master
Sergio Álvarez 2 years ago
parent
commit
9d6cc2eded
  1. 1
      .gitignore
  2. 1
      build.sh
  3. 6
      src/hello.php

1
.gitignore

@ -2,3 +2,4 @@ composer*
deploy.md
runtime*
vendor*
*.zip

1
build.sh

@ -29,3 +29,4 @@ mv runtime.zip ../
cd ..
zip -r vendor.zip vendor
zip -r lambda.zip src

6
src/hello.php

@ -0,0 +1,6 @@
<?php
function hello($data)
{
return "Hello, {$data['name']}!";
}
Loading…
Cancel
Save