Updated Project Structure

This commit is contained in:
Pablu23
2023-12-06 17:43:49 +01:00
parent 5ccd83c9da
commit d4675752dd
13 changed files with 48 additions and 73 deletions

View File

@@ -1,11 +1,11 @@
build:
go build -o bin/uftp main.go
go build -o bin/uftp cmd/uftp/main.go
server:
go run main.go server
go run cmd/uftp/main.go server
test:
go run main.go client testFiles/testFile 0.0.0.0:13374
go run cmd/uftp/main.go client testFiles/testFile 0.0.0.0:13374
win:
GOOS=windows GOARCH=amd64 go build -o bin/app-amd64.exe main.go
GOOS=windows GOARCH=amd64 go build -o bin/app-amd64.exe cmd/uftp/main.go