Git Product home page Git Product logo

trial-aws-lambda-golang's Introduction

README.md

以下官方文档仅做参考,文章及示例代码可能基于较为久远版本的 Golang。

https://docs.aws.amazon.com/zh_cn/lambda/latest/dg/lambda-golang.html

为了发布为 AWS Lambda (运行环境以 Amazon Linux 2023/arm64 为例),编译后的入口文件名需为 bootstap,此处以将编译后的可执行文件放入 /dist 目录为例:

go get

#
# https://dev.to/calebfrieze/deploying-go-to-aws-using-cdk-in-2024-41ah
GOOS=linux GOARCH=arm64 go build -o dist/bootstrap

编译后即可将可执行文件压缩为 zip 文件并通过 AWS Lambda 控制面板上传,或其它方式进行部署。

trial-aws-lambda-golang's People

Contributors

kamaslau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.