go fmt
This commit is contained in:
		@@ -46,7 +46,7 @@ func main() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	//make sure config file's permissions are read-write only for the current user
 | 
						//make sure config file's permissions are read-write only for the current user
 | 
				
			||||||
	if !util.FileExistsAndHasPermissions(globals.configFileName, 384 /*0b110000000*/) {
 | 
						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
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@ type Event struct {
 | 
				
			|||||||
	Timestamp   int64
 | 
						Timestamp   int64
 | 
				
			||||||
	Permissions os.FileMode
 | 
						Permissions os.FileMode
 | 
				
			||||||
	Username    string
 | 
						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:"-"`
 | 
						LocalStatus EventStatus `json:"-"`
 | 
				
			||||||
	LocalId     int64       `json:"-"`
 | 
						LocalId     int64       `json:"-"`
 | 
				
			||||||
	InDB        bool        `json:"-"` //defaults to false. Omitted from json marshalling.
 | 
						InDB        bool        `json:"-"` //defaults to false. Omitted from json marshalling.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user