import * as sst from "@serverless-stack/resources" ; export class MainStack extends sst . Stack { constructor ( scope , id , props ? ) { super ( scope , id , props ) ; new sst . Api ( this , "Api" , { defaultFunctionProps : { } , routes : { "GET /" : "src/error/lambda1.main" , "GET /go" : { runtime : "go1.x" , srcPath : "src/go" , handler : "src" , } , } , } ) ; } }