Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Commit 1657905

Browse files
author
Pumita Lite
committed
🚚 Go mod (the nice way)
1 parent 98878cf commit 1657905

14 files changed

Lines changed: 28 additions & 28 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ build: dist/$(APPNAME)-$(VERSION)
2020
@upx -9 --ultra-brute $<
2121

2222
dist/$(APPNAME)-$(VERSION): fmt $(OBJS)
23-
@cd $(BACKEND) && $(CC) $(LDFLAGS) -a -o ../$@ main.go
23+
$(CC) $(LDFLAGS) -a -o $@ main.go
2424

2525
$(BACKEND)/public/index.go: FORCE $(FRONTEND)/node_modules $(FRONTEND)/package.json
2626
@yarn --cwd $(FRONTEND) run compile

backend/app/server/router.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77

88
"github.com/valyala/fasthttp"
99

10-
"cosasdepuma/masterchef/app/config"
11-
"cosasdepuma/masterchef/app/server/client"
12-
"cosasdepuma/masterchef/app/server/middlewares"
13-
"cosasdepuma/masterchef/app/server/routes"
14-
"cosasdepuma/masterchef/public"
10+
"github.com/cosasdepuma/masterchef/backend/app/config"
11+
"github.com/cosasdepuma/masterchef/backend/app/server/client"
12+
"github.com/cosasdepuma/masterchef/backend/app/server/middlewares"
13+
"github.com/cosasdepuma/masterchef/backend/app/server/routes"
14+
"github.com/cosasdepuma/masterchef/backend/public"
1515
)
1616

1717
// API indicates the path and version relative to them

backend/app/server/routes/dnslookup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/valyala/fasthttp"
1111

12-
"cosasdepuma/masterchef/app/helpers"
12+
"github.com/cosasdepuma/masterchef/backend/app/helpers"
1313
)
1414

1515
type (

backend/app/server/routes/iplookup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/valyala/fasthttp"
1010

11-
"cosasdepuma/masterchef/app/helpers"
11+
"github.com/cosasdepuma/masterchef/backend/app/helpers"
1212
)
1313

1414
type (

backend/app/server/routes/request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/valyala/fasthttp"
1111
"github.com/valyala/fasthttp/fasthttpproxy"
1212

13-
"cosasdepuma/masterchef/app/server/client"
13+
"github.com/cosasdepuma/masterchef/backend/app/server/client"
1414
)
1515

1616
type (

backend/app/server/routes/spider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/valyala/fasthttp"
99

10-
"cosasdepuma/masterchef/app/helpers"
11-
"cosasdepuma/masterchef/app/providers/spiders"
10+
"github.com/cosasdepuma/masterchef/backend/app/helpers"
11+
"github.com/cosasdepuma/masterchef/backend/app/providers/spiders"
1212
)
1313

1414
type (

backend/app/server/routes/subdomainer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/valyala/fasthttp"
99

10-
"cosasdepuma/masterchef/app/helpers"
11-
"cosasdepuma/masterchef/app/providers/subdomainers"
10+
"github.com/cosasdepuma/masterchef/backend/app/helpers"
11+
"github.com/cosasdepuma/masterchef/backend/app/providers/subdomainers"
1212
)
1313

1414
type (

backend/app/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/valyala/fasthttp"
77

8-
"cosasdepuma/masterchef/app/config"
8+
"github.com/cosasdepuma/masterchef/backend/app/config"
99
)
1010

1111
// Start the backend server

backend/cmd/masterchef.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cmd
22

33
import (
4-
"cosasdepuma/masterchef/app/config"
5-
"cosasdepuma/masterchef/app/server"
4+
"github.com/cosasdepuma/masterchef/backend/app/config"
5+
"github.com/cosasdepuma/masterchef/backend/app/server"
66
)
77

88
// Start the server

backend/go.mod

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)