go fmt
This commit is contained in:
parent
78bfae8005
commit
47c785b4d3
@ -46,7 +46,7 @@ func main() {
|
||||
|
||||
//make sure config file's permissions are read-write only for the current user
|
||||
if !util.FileExistsAndHasPermissions(globals.configFileName, 384 /*0b110000000*/) {
|
||||
fmt.Println("Error: Either the file at "+globals.configFileName+" doesn't exist, or it doesn't have permissions such that the current user is the only one allowed to read and write.")
|
||||
fmt.Println("Error: Either the file at " + globals.configFileName + " doesn't exist, or it doesn't have permissions such that the current user is the only one allowed to read and write.")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ type Event struct {
|
||||
Timestamp int64
|
||||
Permissions os.FileMode
|
||||
Username string
|
||||
Sharename string //TODO start differentiating between a users' different shares
|
||||
Sharename string //TODO start differentiating between a users' different shares
|
||||
LocalStatus EventStatus `json:"-"`
|
||||
LocalId int64 `json:"-"`
|
||||
InDB bool `json:"-"` //defaults to false. Omitted from json marshalling.
|
||||
|
Loading…
Reference in New Issue
Block a user