Skip to content

Commit f212612

Browse files
author
cg33
committed
initial
1 parent 03f48f4 commit f212612

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.idea
2-
node_modules
2+
node_modules
3+
frontend/backend

backend/Makefile

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
all:
2-
go build .
1+
GOCMD=go
2+
GOBUILD=$(GOCMD) build
3+
4+
all: build
5+
6+
build:
7+
$(GOBUILD) -v -o ./backend .
38
mv backend ./../frontend/

backend/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ go 1.13
55
require (
66
github.com/GoAdminGroup/go-admin v1.2.8-0.20200401080611-839367ab35c6
77
github.com/GoAdminGroup/themes v0.0.29
8+
github.com/fsnotify/fsnotify v1.4.7
89
github.com/gin-gonic/gin v1.5.0
9-
github.com/gogf/gf v1.12.1 // indirect
1010
)

backend/go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
9090
github.com/denisenkom/go-mssqldb v0.0.0-20191001013358-cfbb681360f0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU=
9191
github.com/denisenkom/go-mssqldb v0.0.0-20200206145737-bbfc9a55622e/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU=
9292
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
93+
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
9394
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
9495
github.com/gf-third/yaml v1.0.1/go.mod h1:t443vj0txEw3+E0MOtkr83kt+PrZg2I8SRuYfn85NM0=
9596
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=

backend/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func main() {
2626
uploadDir, assetDir, srcDir, port, index string
2727
debug, watchMode bool
2828
)
29+
2930
flag.BoolVar(&debug, "debug", false, "debug mode")
3031
flag.BoolVar(&watchMode, "watch", true, "watch mode")
3132
flag.StringVar(&uploadDir, "upload", "./uploads", "upload dir")

0 commit comments

Comments
 (0)