Define global default value at initialisation

This commit is contained in:
nemunaire 2017-11-25 16:05:03 +01:00 committed by Pierre-Olivier Mercier
commit cd5a9d06ea
9 changed files with 31 additions and 33 deletions

View file

@ -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"`