We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 229767d commit 7121462Copy full SHA for 7121462
.github/workflows/deploy.yml
@@ -28,7 +28,7 @@ jobs:
28
sleep 2
29
30
# Build the application
31
- go build -o main cmd/api/main.go
+ CGO_ENABLED=1 go build -o main cmd/api/main.go
32
33
# Start the application in the background
34
nohup ./main -config config/local.yaml > output.log 2>&1 &
cmd/api/main.go
@@ -40,6 +40,8 @@ func main() {
40
})
41
42
router.HandleFunc("POST /api/users",users.New(storage))
43
+ // router.HandleFunc("GET /api/users/{id}",users.GetUser(storage))
44
+ // router.HandleFunc("GET /api/users",users.GetAll(storage))
45
46
//start server
47
0 commit comments