Minor Changes
-
Add experimental Go runtime framework preset. (#14865)
This adds support for deploying standalone Go HTTP servers (using
package mainwithfunc main()) in addition to the existing serverless function pattern. The preset supports:main.goat project root (simple projects)cmd/api/main.go(API servers)cmd/server/main.go(HTTP servers)
The Go application must listen on the port specified by the
PORTenvironment variable.