Skip to content

Commit cd1ec3b

Browse files
authored
Merge pull request #166 from knoxfighter/Feature/go-deps
Feature/go deps
2 parents dfe8a65 + a3c1814 commit cd1ec3b

File tree

10 files changed

+139
-62
lines changed

10 files changed

+139
-62
lines changed

.travis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@ os:
44
- windows
55

66
go:
7-
- 1.10.x
87
- 1.11.x
98
- 1.12.x
9+
- 1.13.x
1010
- 1.x
1111

12-
install:
13-
- go get github.com/apexskier/httpauth
14-
- go get github.com/go-ini/ini
15-
- go get github.com/gorilla/mux
16-
- go get github.com/hpcloud/tail
17-
- go get github.com/gorilla/websocket
18-
- go get github.com/majormjr/rcon
12+
env:
13+
- GO111MODULE=on
1914

2015
script:
21-
- go test -v ./...
16+
- cd src/
17+
- go test -v ./...

Makefile

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,41 @@ endif
1212

1313
build: $(release)
1414

15-
$(shell mkdir -p build)
16-
build/factorio-server-manager-%.zip: app/bundle factorio-server-manager-%
15+
build/factorio-server-manager-%.zip: clean app/bundle factorio-server-manager-%
16+
@mkdir -p build/
1717
@echo "Packaging Build - $@"
1818
@cp -r app/ factorio-server-manager/
1919
@cp conf.json.example factorio-server-manager/conf.json
2020
@zip -r $@ factorio-server-manager > /dev/null
21-
@rm -r factorio-server-manager
2221

2322
app/bundle:
2423
@echo "Building Frontend"
2524
@npm install && npm run build
2625

27-
factorio-server-manager-linux: godeps
26+
factorio-server-manager-linux:
2827
@echo "Building Backend - Linux"
29-
@GOPATH="${GOPATH}:${PDW}"
3028
@mkdir -p factorio-server-manager
31-
@GOOS=linux GOARCH=amd64 go build -o factorio-server-manager/factorio-server-manager ./src
29+
@cd src; \
30+
GOOS=linux GOARCH=amd64 go build -o ../factorio-server-manager/factorio-server-manager .
3231

33-
factorio-server-manager-windows: godeps
32+
factorio-server-manager-windows:
3433
@echo "Building Backend - Windows"
35-
@GOPATH="${GOPATH}:${PDW}"
3634
@mkdir -p factorio-server-manager
37-
@GOOS=windows GOARCH=386 go build -o factorio-server-manager/factorio-server-manager.exe ./src
38-
39-
godeps:
40-
@echo "Installing Packages"
41-
@cat gopkglist | xargs go get
35+
@cd src; \
36+
GOOS=windows GOARCH=386 go build -o ../factorio-server-manager/factorio-server-manager.exe .
4237

4338
gen_release: build/factorio-server-manager-linux.zip build/factorio-server-manager-windows.zip
4439
@echo "Done"
4540

4641
clean:
4742
@echo "Cleaning"
48-
@rm -r build/
49-
@rm app/bundle.js
50-
@rm app/bundle.css
51-
@rm app/fonts/vendor
52-
@rm app/images/vendor
43+
@-rm -r build/
44+
@-rm app/bundle.js
45+
@-rm app/bundle.js.map
46+
@-rm app/style.css
47+
@-rm app/style.css.map
48+
@-rm -r app/fonts/vendor/
49+
@-rm -r app/images/vendor/
50+
@-rm -r node_modules/
51+
@-rm -r pkg/
52+
@-rm -r factorio-server-manager

README.md

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This tool runs on a Factorio server and allows management of the Factorio server
4343
4. Visit [localhost:8080](localhost:8080) in your web browser.
4444

4545
## Usage
46-
Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication.
46+
Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication.
4747
```
4848
Usage of ./factorio-server-manager:
4949
-bin string
@@ -99,8 +99,8 @@ It also acts as the webserver to serve the front end react application
9999
All api actions are accessible with the /api route. The frontend is accessible from /.
100100

101101
#### Requirements
102-
+ Go 1.7
103-
+ NodeJS 4.2.6
102+
+ Go 1.11
103+
+ NodeJS
104104

105105
#### Building Releases
106106
Creates a release zip for windows and linux: (this will install the dependencies listed in gopkgdeps)
@@ -131,7 +131,7 @@ make app/bundle
131131
```
132132

133133
##### For development
134-
The frontend is completly build by npm with laravel-mix. All plugins are buld into the compiled files. No plugins need to be load fro external sources.
134+
The frontend is completely build by npm with laravel-mix. All plugins are build into the compiled files. No plugins need to be load fro external sources.
135135

136136
It has different variants to build the frontend, provided by laravel-mix:
137137
- `npm run dev` Build the code for development. This will also generate map-files, so the browser, can show, what line and file causes the output.
@@ -144,46 +144,31 @@ In every of those cases, also images and fonts will be copied to the app-folder.
144144
1. Download the latest release source zip file
145145
* [https://github.com/mroote/factorio-server-manager/releases](https://github.com/mroote/factorio-server-manager/releases)
146146
2. Unzip the Factorio Standalone server and move it to a known directory.
147-
3. Download and install Go 1.7 or newer. https://golang.org/dl/
148-
4. Download and install NodeJS 4.2.6 64-bit or 32-bit depending on your operating system, if unsure download 32-bit
149-
* https://nodejs.org/download/release/v4.2.6/node-v4.2.6-x64.msi 64-bit
150-
* https://nodejs.org/download/release/v4.2.6/node-v4.2.6-x86.msi 32-bit
151-
5. Download and install NVM, when asked if you want it to use NodeJS 4.2.6 accept
152-
* https://github.com/coreybutler/nvm-windows/releases/download/1.1.1/nvm-setup.zip
153-
6. You will need to setup GOPATH in environmental settings in windows. You will want to go into Control Panel\System and Security\System From there on the left hand side click "Advanced system settings". A window will open and you need to click Environment Variables.
154-
7. Under System Variables click New. For Variable name use GOPATH and Variable value C:\Go\
147+
3. Download and install Go 1.11 or newer. https://golang.org/dl/
148+
4. Download and install NodeJS 64-bit or 32-bit depending on your operating system, most users need 64-bit nowadays.
149+
* https://nodejs.org/dist/v12.13.0/node-v12.13.0-x64.msi 64-bit
150+
* https://nodejs.org/dist/v12.13.0/node-v12.13.0-x86.msi 32-bit
155151

156152
Once everything is installed and ready to go you will need to compile the source for windows
157153

158154
1. Open the folder where ever you unzipped from step #2 above.
159155
2. My folder structure is like this "C:\FS\factorio-server-manager\" C:\FS is where my factorio files are located C:\FS\factorio-server-manager\ is where the server manager files are.
160-
3. You will now need to install some dependencies for Go. You will need to open up a command prompt and one at a time type each of these and hit enter before typing the next one.
161-
162-
```
163-
go get github.com/apexskier/httpauth
164-
go get github.com/go-ini/ini
165-
go get github.com/gorilla/mux
166-
go get github.com/hpcloud/tail
167-
go get github.com/gorilla/websocket
168-
go get github.com/majormjr/rcon
169-
```
170-
171-
3. Now you will want to go into the src folder for example "C:\FS\factorio-server-manager\src" once there hold down left shift and right click an empty area of the folder. Then click "Open command windows here"
156+
3. Now you will want to go into the src folder for example "C:\FS\factorio-server-manager\src" once there hold down shift and right click an empty area of the folder. Then click "Open command windows here"
172157
4. Type this into the command prompt then hit enter:
173158

174159
```
175160
go build
176161
```
177162

178163
5. Once finished you will now see src.exe or src file inside the folder. You need to move that file to the C:\FS\factorio-server-manager\ or the folder that is before your src folder.
179-
6. From here you need to build the web front-end by going into your ui folder for me its C:\FS\factorio-server-manager\ui\ and again hold shift and left click in an empty area then select open command prompt here. You then need to type this:
164+
6. From here you need to build the web front-end. Again hold shift and right click in an empty area then select open command prompt here. You then need to type this:
180165

181166
```
182167
npm install
183168
npm run build
184169
```
185170

186-
7. Now execute the src file created in step #4 above
171+
7. Now execute the src file created in step #4 above. You have to specify the directory, where the factorio-server is located, as parameter. More about the parameter under [Usage](#Usage)
187172
8. You can now Visit [localhost:8080](localhost:8080) in your web browser to start using the Factorio server Manager
188173

189174
## Contributing

gopkglist

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

src/go.mod

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module github.com/mroote/factorio-server-manager
2+
3+
go 1.13
4+
5+
require (
6+
github.com/apexskier/httpauth v1.3.2
7+
github.com/go-ini/ini v1.49.0
8+
github.com/go-sql-driver/mysql v1.4.1 // indirect
9+
github.com/gorilla/mux v1.7.3
10+
github.com/gorilla/sessions v1.2.0 // indirect
11+
github.com/gorilla/websocket v1.4.1
12+
github.com/hpcloud/tail v1.0.0
13+
github.com/lib/pq v1.2.0 // indirect
14+
github.com/majormjr/rcon v0.0.0-20120923215419-8fbb8268b60a
15+
github.com/mattn/go-sqlite3 v1.11.0 // indirect
16+
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect
17+
github.com/syndtr/goleveldb v1.0.0 // indirect
18+
golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf // indirect
19+
google.golang.org/appengine v1.6.5 // indirect
20+
gopkg.in/ini.v1 v1.49.0 // indirect
21+
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
22+
)

src/go.sum

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
github.com/apexskier/httpauth v1.3.2 h1:PHwrq/eBRBLIrUthchpbDVTVR/ofBrj2LUcukCRhfXw=
2+
github.com/apexskier/httpauth v1.3.2/go.mod h1:aEHd6x648VCocEK0vTsPKkjJ1sBPab3Z4V4MJs9YZAE=
3+
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
4+
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
5+
github.com/go-ini/ini v1.49.0 h1:ymWFBUkwN3JFPjvjcJJ5TSTwh84M66QrH+8vOytLgRY=
6+
github.com/go-ini/ini v1.49.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
7+
github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA=
8+
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
9+
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
10+
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
11+
github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg=
12+
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
13+
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=
14+
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
15+
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
16+
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
17+
github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw=
18+
github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
19+
github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=
20+
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
21+
github.com/gorilla/sessions v1.2.0 h1:S7P+1Hm5V/AT9cjEcUD5uDaQSX0OE577aCXgoaKpYbQ=
22+
github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
23+
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
24+
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
25+
github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
26+
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
27+
github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
28+
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
29+
github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=
30+
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
31+
github.com/majormjr/rcon v0.0.0-20120923215419-8fbb8268b60a h1:rXEd7/SA5sJvgl2zxM/nNblGa9kkpnx2phQATclw9Xk=
32+
github.com/majormjr/rcon v0.0.0-20120923215419-8fbb8268b60a/go.mod h1:RNVV4T548mxgb643odZHF+pWh/YmGLxiKvtkbI1vRYE=
33+
github.com/mattn/go-sqlite3 v1.11.0 h1:LDdKkqtYlom37fkvqs8rMPFKAMe8+SgjbwZ6ex1/A/Q=
34+
github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
35+
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
36+
github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
37+
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
38+
github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=
39+
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
40+
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
41+
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
42+
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 h1:WN9BUFbdyOsSH/XohnWpXOlq9NBD5sGAB2FciQMUEe8=
43+
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
44+
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
45+
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
46+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
47+
golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf h1:fnPsqIDRbCSgumaMCRpoIoF2s4qxv0xSSS0BVZUE/ss=
48+
golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
49+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
50+
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
51+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ=
52+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
53+
golang.org/x/net v0.0.0-20190603091049-60506f45cf65 h1:+rhAzEzT3f4JtomfC371qB+0Ola2caSKcY69NUBZrRQ=
54+
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
55+
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA=
56+
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
57+
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
58+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
59+
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
60+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
61+
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
62+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
63+
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
64+
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
65+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
66+
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
67+
google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM=
68+
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
69+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
70+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
71+
gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
72+
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
73+
gopkg.in/ini.v1 v1.49.0 h1:MW0aLMiezbm/Ray0gJJ+nQFE2uOC9EpK2p5zPN3NqpM=
74+
gopkg.in/ini.v1 v1.49.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
75+
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 h1:VpOs+IwYnYBaFnrNAeB8UUWtL3vEUnzSCL1nVjPhqrw=
76+
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA=
77+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
78+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
79+
gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
80+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
File renamed without changes.

src/mod_Mods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"bytes"
66
"errors"
77
"fmt"
8+
"github.com/mroote/factorio-server-manager/lockfile"
89
"io"
910
"io/ioutil"
10-
"lockfile"
1111
"log"
1212
"mime/multipart"
1313
"net/http"

src/mod_modInfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"archive/zip"
55
"encoding/json"
66
"errors"
7+
"github.com/mroote/factorio-server-manager/lockfile"
78
"io"
89
"io/ioutil"
9-
"lockfile"
1010
"log"
1111
"os"
1212
"path/filepath"

src/mods_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"encoding/json"
66
"errors"
77
"fmt"
8+
"github.com/mroote/factorio-server-manager/lockfile"
89
"io"
9-
"lockfile"
1010
"log"
1111
"net/http"
1212
"os"

0 commit comments

Comments
 (0)