mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Apply suggestions from code review
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user