Apply suggestions from code review

Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
yoff
2023-07-24 15:51:27 +02:00
committed by GitHub
parent 76455d628e
commit c0407ae0be
2 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ module ServerLess<Input I> {
private string normalise(string base) { result = removeLeadingDotSlash(removeTrailingDot(base)) }
/**
* Holds if the `.yml` file `ymlFile` contains a serverless configuration fro `framework` with
* Holds if the `.yml` file `ymlFile` contains a serverless configuration from `framework` with
* `handler`, `codeURI`, and `runtime` properties.
* `codeURI` and `runtime` default to the empty string if no explicit value is set in the configuration.
*

View File

@@ -28,14 +28,14 @@ See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/java-handler.ht
You can express the hander in the following formats:
- `package.Class::method` Full format. For example: example.Handler::handleRequest.
- `package.Class::method` Full format. For example: `example.Handler::handleRequest`.
- `package.Class` Abbreviated format for functions that implement a handler interface. For example: example.Handler.
- `package.Class` Abbreviated format for functions that implement a handler interface. For example: `example.Handler`.
### Go
See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/golang-handler.html)
When you configure a function in Go, the value of the handler setting is the executable file name. For example, if you set the value of the handler to Handler, Lambda will call the main() function in the Handler executable file.
When you configure a function in Go, the value of the handler setting is the executable file name. For example, if you set the value of the handler to `Handler`, Lambda will call the `main()` function in the `Handler` executable file.
### C#
See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/csharp-handler.html)