diff options
| author | Teddy Wing | 2015-06-07 19:38:02 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-06-07 19:38:02 -0400 | 
| commit | 502db93bf61c1c73d7b774d862f91b6fafefb1e6 (patch) | |
| tree | 05e2eab5b3a289b3443a511761fa5b5ffdfe9d0f /purchase/purchase.go | |
| parent | 1e78d9ef6529cabfc443d1aae933c014e0153735 (diff) | |
| download | New-House-on-the-Block-502db93bf61c1c73d7b774d862f91b6fafefb1e6.tar.bz2 | |
purchase.go: Split `SendMoney` declaration onto 2 lines
Makes it easier to read. Previously I had trouble trying to do this
because I put the argument list on the second line by itself but you
can't do that. You need to separate at a comma inside a set of
parentheses in order to compile.
Diffstat (limited to 'purchase/purchase.go')
| -rw-r--r-- | purchase/purchase.go | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/purchase/purchase.go b/purchase/purchase.go index 0bce2a4..45940f2 100644 --- a/purchase/purchase.go +++ b/purchase/purchase.go @@ -4,7 +4,8 @@ import (  	"github.com/teddywing/new-house-on-the-block/vendor/_nuts/github.com/fabioberger/coinbase-go"  ) -func SendMoney(from_key string, from_secret string, to string, amount string) (transaction_id string, err error) { +func SendMoney(from_key string, from_secret string, +		to string, amount string) (transaction_id string, err error) {  	c := coinbase.ApiKeyClientSandbox(from_key, from_secret)  	params := &coinbase.TransactionParams{ | 
