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