Updated for go 1.16 modules
This commit is contained in:
parent
8278d7b471
commit
38d9c881b3
25 changed files with 25 additions and 19 deletions
|
@ -15,7 +15,7 @@ This program was born from a need to query the status of the backups from the cl
|
|||
|
||||
## Dependencies
|
||||
|
||||
go is required. Only go version >= 1.13.5 on linux amd64 has been tested.
|
||||
go is required. Only go version >= 1.16 on linux amd64 has been tested.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -26,12 +26,12 @@ go test -cover ./...
|
|||
|
||||
For a debug build, use :
|
||||
```
|
||||
go build
|
||||
go build ./cmd/bareos-zabbix-check/
|
||||
```
|
||||
|
||||
For a release build, use :
|
||||
```
|
||||
go build -ldflags="-s -w"
|
||||
go build -ldflags="-s -w" ./cmd/bareos-zabbix-check/
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue