Define global default value at initialisation
This commit is contained in:
parent
bf86e40db0
commit
cd5a9d06ea
9 changed files with 31 additions and 33 deletions
|
|
@ -13,9 +13,9 @@ import (
|
|||
"github.com/dchest/blake2b"
|
||||
)
|
||||
|
||||
var FilesDir string
|
||||
var OptionalDigest bool
|
||||
var StrongDigest bool
|
||||
var FilesDir string = "./FILES/"
|
||||
var OptionalDigest bool = false
|
||||
var StrongDigest bool = false
|
||||
|
||||
type EFile struct {
|
||||
Id int64 `json:"id"`
|
||||
|
|
|
|||
Reference in a new issue