Optimize file structure

This commit is contained in:
Flavio Meyer 2020-01-20 14:36:25 +01:00
parent b1880a435c
commit 677cb52715
6 changed files with 6 additions and 8 deletions

View file

@ -10,4 +10,4 @@ services:
script:
- docker build --no-cache -t niilo/clamav-rest .
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi

2
Gopkg.lock generated
View file

@ -4,4 +4,4 @@ memo = "6d565002a9a2af555327a35b973166b0b4d3cc082fa045bd3917e34205a70a05"
branch = "master"
name = "github.com/dutchcoders/go-clamd"
packages = ["."]
revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c"
revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c"

View file

@ -49,8 +49,6 @@
## what source location any dependent projects specify.
# source = "https://github.com/myfork/package.git"
[[dependencies]]
branch = "master"
name = "github.com/dutchcoders/go-clamd"
name = "github.com/dutchcoders/go-clamd"

View file

@ -184,4 +184,4 @@ func main() {
}
fmt.Printf("Listening on port " + opts["PORT"])
http.ListenAndServe(":"+opts["PORT"], nil)
}
}

View file

@ -1 +1 @@
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

View file

@ -20,4 +20,4 @@ terminate() {
trap terminate CHLD
wait
exit $exitcode
exit $exitcode