serverless-go-starter
所属分类:FaaS/Serverless
开发工具:GO
文件大小:3KB
下载次数:0
上传日期:2019-03-31 06:23:06
上 传 者:
sh-1993
说明: 无服务器go启动器,,
(serverless-go-starter,,)
文件列表:
Gopkg.toml (608, 2019-03-31)
Makefile (158, 2019-03-31)
hello (0, 2019-03-31)
hello\main.go (248, 2019-03-31)
serverless.yml (268, 2019-03-31)
world (0, 2019-03-31)
world\main.go (297, 2019-03-31)
# Serverless Go Starter
A Go starter project for [Serverless Framework](https://serverless.com/framework/) with support for dependencies (using [dep](https://github.com/golang/dep)).
### Requirements
- [Install Go](https://golang.org/dl/)
- [Install Dep](https://github.com/golang/dep#installation)
- [Install the Serverless Framework](https://serverless.com/framework/docs/providers/aws/guide/installation/)
- [Configure your AWS CLI](https://serverless.com/framework/docs/providers/aws/guide/credentials/)
### Installation
Create a new project
```sh
$ serverless install --url https://github.com/fwang/serverless-go-starter --name serverless-go-starter
```
### Usage
Build
```sh
$ make
```
Invoke a function locally
```
$ serverless invoke local -f hello
```
### Deploying
Deploy your project
```sh
$ serverless deploy
```
Deploy a single function
```sh
$ serverless deploy function --function hello
```
### Support
- Send us an [email](mailto:frank@seed.run) if you have any questions
- Open a [new issue](https://github.com/AnomalyInnovations/serverless-go-starter/issues/new) if you've found a bug or have some suggestions.
- Or submit a pull request!
### Maintainers
Maintained by [Anomaly Innovations](https://anoma.ly/). [**Subscribe to our newsletter**](http://eepurl.com/cEaBlf) for updates. Send us an [email](mailto:contact@anoma.ly) if you have any questions.
近期下载者:
相关文件:
收藏者: