mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-10-31 09:53:27 -04:00 
			
		
		
		
	Initial pass at OFX imports
Still needs some fixups: * UI is incomplete * Investment transactions are unbalanced initially * OFX imports don't detect if one of the description fields for a transaction is empty (to fall back on another) * I'm sure plenty of other issues I haven't discovered yet
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @@ -14,6 +14,7 @@ import ( | ||||
|  | ||||
| var serveFcgi bool | ||||
| var baseDir string | ||||
| var tmpDir string | ||||
| var port int | ||||
| var smtpServer string | ||||
| var smtpPort int | ||||
| @@ -23,6 +24,7 @@ var reminderEmail string | ||||
|  | ||||
| func init() { | ||||
| 	flag.StringVar(&baseDir, "base", "./", "Base directory for server") | ||||
| 	flag.StringVar(&tmpDir, "tmp", "/tmp", "Directory to create temporary files in") | ||||
| 	flag.IntVar(&port, "port", 80, "Port to serve API/files on") | ||||
| 	flag.StringVar(&smtpServer, "smtp.server", "smtp.example.com", "SMTP server to send reminder emails from.") | ||||
| 	flag.IntVar(&smtpPort, "smtp.port", 587, "SMTP server port to connect to") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user