Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shillaker committed Nov 6, 2023
1 parent 5472732 commit 84caff2
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@

# Serverless framework
node_modules/
.serverless/
4 changes: 2 additions & 2 deletions functions/go-hello-world/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cors-go
module hello-go

go 1.19
go 1.21

require (
github.com/scaleway/serverless-functions-go v0.1.2
Expand Down
2 changes: 1 addition & 1 deletion functions/go-hello-world/handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cors
package hello

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion functions/go-hello-world/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cors
package hello

import (
"io"
Expand Down
4 changes: 2 additions & 2 deletions functions/go-hello-world/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion functions/go-hello-world/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cors-go",
"name": "hello-go",
"version": "1.0.0",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion functions/go-hello-world/test/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
handler "cors-go"
handler "hello-go"

"github.com/scaleway/serverless-functions-go/local"
)
Expand Down

0 comments on commit 84caff2

Please sign in to comment.