deving
This commit is contained in:
33
.gitignore
vendored
Normal file
33
.gitignore
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# ---> Go
|
||||||
|
# If you prefer the allow list template instead of the deny list, see community template:
|
||||||
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||||
|
#
|
||||||
|
# Binaries for programs and plugins
|
||||||
|
*.exe
|
||||||
|
*.exe~
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Test binary, built with `go test -c`
|
||||||
|
*.test
|
||||||
|
|
||||||
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
|
*.out
|
||||||
|
|
||||||
|
# Dependency directories (remove the comment below to include it)
|
||||||
|
vendor/
|
||||||
|
gen/
|
||||||
|
.cache/
|
||||||
|
logs/
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
.builds/
|
||||||
|
|
||||||
|
result/
|
||||||
|
results/
|
||||||
|
|
||||||
|
# Go workspace file
|
||||||
|
go.work
|
||||||
|
|
||||||
|
output/
|
||||||
BIN
builds/stock
Normal file
BIN
builds/stock
Normal file
Binary file not shown.
5
scripts/build.sh
Normal file
5
scripts/build.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
GOARCH=amd64 GOOS=linux go build -o ./builds/stock ./cmd/main/main.go
|
||||||
|
|
||||||
|
nohup ./stock > /data/app/logs/stock.log 2>&1 &
|
||||||
Reference in New Issue
Block a user