Learn how to get started on Square Cloud with Go
START
field is not defined in the configuration file, Square Cloud will run go run MAIN
to compile and execute the Go file specified in the MAIN
field. If the START
field is defined in the configuration file, the value in the START
field will be executed directly. For more information on configuration file parameters, visit configuration parameters.
go mod tidy
command to update your project’s dependencies.
squarecloud.app/.config
) file must be located in the root of the zip file. Otherwise, Square Cloud will not be able to find it during deployment.