Update module path, imports; update README and Makefile references
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ run: build
|
||||
./$(BINARY)
|
||||
|
||||
docker-build:
|
||||
docker build -t lambda-iot-core:latest .
|
||||
docker build -t lambdaiot-core:latest .
|
||||
|
||||
test:
|
||||
go test ./... -v
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
"github.com/kristjank/lambda-iot/core/internal/handler"
|
||||
"github.com/kristjank/lambda-iot/core/internal/middleware"
|
||||
"git.piskot.si/SeminarM2/lambdaiot-core/internal/handler"
|
||||
"git.piskot.si/SeminarM2/lambdaiot-core/internal/middleware"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/kristjank/lambda-iot/core
|
||||
module git.piskot.si/SeminarM2/lambdaiot-core
|
||||
|
||||
go 1.21
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
This repository contains a minimal Go REST service used as the backend for the Lambda-IoT project.
|
||||
|
||||
Repository: https://git.piskot.si/SeminarM2/lambdaiot-core
|
||||
|
||||
## Features ✅
|
||||
|
||||
- Simple HTTP server with two endpoints:
|
||||
@@ -37,7 +39,7 @@ make docker-build
|
||||
Then run it:
|
||||
|
||||
```bash
|
||||
docker run -p 8080:8080 lambda-iot-core:latest
|
||||
docker run -p 8080:8080 lambdaiot-core:latest
|
||||
```
|
||||
|
||||
### Endpoints
|
||||
|
||||
Reference in New Issue
Block a user