about summary refs log tree commit diff
path: root/users/wpcarro/tools/monzo_ynab/ynab/client.go
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-18T13·03+0300
committertazjin <mail@tazj.in>2021-12-19T18·05+0000
commit562236085b79b3fe793d9f02fdcbba9480c6a5ee (patch)
tree501e61075c5e53caaa81b55ce8d1fb7659a32858 /users/wpcarro/tools/monzo_ynab/ynab/client.go
parentd7bf4f07c98694aafa2acd78eba1871b769c61bd (diff)
style: format all Go code r/3311
The code in //users/wpcarro/tools/monzo_ynab/ynab/client.go was not
valid Go and has been commented out.

Change-Id: Icb4003607f30294dcbf60132eb7722702c7f0d84
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4400
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/wpcarro/tools/monzo_ynab/ynab/client.go')
-rw-r--r--users/wpcarro/tools/monzo_ynab/ynab/client.go36
1 files changed, 18 insertions, 18 deletions
diff --git a/users/wpcarro/tools/monzo_ynab/ynab/client.go b/users/wpcarro/tools/monzo_ynab/ynab/client.go
index 0492b9071adc..b3e9930f621d 100644
--- a/users/wpcarro/tools/monzo_ynab/ynab/client.go
+++ b/users/wpcarro/tools/monzo_ynab/ynab/client.go
@@ -4,21 +4,21 @@ import (
 	"serde"
 )
 
-// See requests.txt for more details.
-func PostTransactions(accountID string, txs []serde.Transaction{}) error {
-	return map[string]string{
-		"transactions": [
-			{
-				"account_id": accountID,
-					"date": "2019-12-30",
-					"amount": 10000,
-					"payee_name": "Richard Stallman",
-					"memo": "Not so free software after all...",
-					"cleared": "cleared",
-					"approved": true,
-					"flag_color": "red",
-					"import_id": "xyz-123"
-			}
-		]
-	}
-}
+// // See requests.txt for more details.
+// func PostTransactions(accountID string, txs []serde.Transaction{}) error {
+// 	return map[string]string{
+// 		"transactions": [
+// 			{
+// 				"account_id": accountID,
+// 					"date": "2019-12-30",
+// 					"amount": 10000,
+// 					"payee_name": "Richard Stallman",
+// 					"memo": "Not so free software after all...",
+// 					"cleared": "cleared",
+// 					"approved": true,
+// 					"flag_color": "red",
+// 					"import_id": "xyz-123"
+// 			}
+// 		]
+// 	}
+// }