File tree Expand file tree Collapse file tree 7 files changed +13
-7
lines changed
event-function/fc-event-golang1.x
http-function/fc-http-golang1.x Expand file tree Collapse file tree 7 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 11Type : Application
22Name : start-fc-event-golang1.x
3- Version : 0.0.1
3+ Version : 0.0.2
44Provider :
55 - 阿里云
66Description : 快速部署一个 golang1.x 的 Event 类型的 Hello World 函数到阿里云函数计算。
Original file line number Diff line number Diff line change 1+ module main
2+
3+ require github.com/aliyun/fc-runtime-go-sdk v0.0.3 // indirect
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ services:
2626 actions : # 自定义执行逻辑
2727 pre-deploy : # 在deploy之前运行
2828 - run : GO111MODULE=on go get github.com/aliyun/fc-runtime-go-sdk
29- path : ./
29+ path : ./code
3030 - run : GOOS=linux CGO_ENABLED=0 go build -o target/main main.go # 要运行的命令行
3131 path : ./code # 命令行运行的路径
3232# post-deploy: # 在deploy之后运行
Original file line number Diff line number Diff line change 11Type : Application
22Name : start-fc-http-golang1.x
3- Version : 0.0.1
3+ Version : 0.0.2
44Provider :
55 - 阿里云
66Description : 快速部署一个 golang1.x 的 HTTP 类型的 Hello World 函数到阿里云函数计算。
Original file line number Diff line number Diff line change 1+ module main
2+
3+ require github.com/aliyun/fc-runtime-go-sdk v0.0.3 // indirect
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ services:
2626 actions : # 自定义执行逻辑
2727 pre-deploy : # 在deploy之前运行
2828 - run : GO111MODULE=on go get github.com/aliyun/fc-runtime-go-sdk
29- path : ./
30- - run : GOOS=linux CGO_ENABLED=0 go build -o target/main main.go # 要运行的命令行
29+ path : ./code
30+ - run : GO111MODULE=on GOOS=linux CGO_ENABLED=0 go build -o target/main main.go # 要运行的命令行
3131 path : ./code # 命令行运行的路径
3232# post-deploy: # 在deploy之后运行
3333# - run: s versions # 要运行的命令行
Original file line number Diff line number Diff line change 2121 - [ fc-event-python2.7] ( event-function/fc-event-python2.7/src ) :` s init start-fc-event-python2 `
2222 - [ fc-event-python3.6] ( event-function/fc-event-python3.6/src ) :` s init start-fc-event-python3 `
2323 - [ fc-event-java8] ( event-function/fc-event-java8/src ) :` s init start-fc-event-java8 `
24- - [ fc-event-golang1.x] ( event-function/fc-event-java8 /src ) :` s init start-fc-event-golang1.x `
24+ - [ fc-event-golang1.x] ( event-function/fc-event-golang1.x /src ) :` s init start-fc-event-golang1.x `
2525- HTTP函数
2626 - [ fc-http-node.js6] ( http-function/fc-http-node.js6/src ) :` s init start-fc-http-nodejs6 `
2727 - [ fc-http-node.js8] ( http-function/fc-http-node.js8/src ) :` s init start-fc-http-nodejs8 `
3131 - [ fc-http-python2.7] ( http-function/fc-http-python2.7/src ) :` s init start-fc-http-python2 `
3232 - [ fc-http-python3.6] ( http-function/fc-http-python3.6/src ) :` s init start-fc-http-python3 `
3333 - [ fc-http-java8] ( http-function/fc-http-java8/src ) :` s init start-fc-http-java8 `
34- - [ fc-http-golang1.x] ( http-function/fc-http-java8 /src ) :` s init start-fc-http-golang1.x `
34+ - [ fc-http-golang1.x] ( http-function/fc-http-golang1.x /src ) :` s init start-fc-http-golang1.x `
3535- Custom案例(自定义运行时)
3636 - Golang [ fc-custom-golang-event] ( custom-function/golang/fc-custom-golang-event/src ) :` s init fc-custom-golang-event `
3737 - Nodejs10 [ fc-custom-nodejs10-event] ( custom-function/nodejs10/fc-custom-nodejs10-event/src ) :` s init fc-custom-nodejs10-event `
You can’t perform that action at this time.
0 commit comments