From 36cd2854d0cfbe0345623deadbfbde77c974d80c Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 26 Dec 2023 06:31:18 +0530 Subject: README.md & handler: gofmt and removing redundant flag --- README.md | 2 +- handlers/handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2643d5b..046a933 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ To get started with this project, follow these steps: b. **Build and Run:** ```bash - CGO_ENABLED=1 go build -o main . + go build -o main . ./main ``` This sequence of commands builds the application and then runs the compiled binary `main`. diff --git a/handlers/handlers.go b/handlers/handlers.go index cca1705..c15da0a 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -5,8 +5,8 @@ import ( "github.com/justsaumit/go-fis-api/models" "github.com/justsaumit/go-fis-api/utils" "github.com/labstack/echo/v4" - _ "modernc.org/sqlite" "log" + _ "modernc.org/sqlite" "net/http" ) -- cgit v1.2.3