softlayer / softlayer.github.io

A collection of SoftLayer API examples in a variety of languages
https://softlayer.github.io
13 stars 21 forks source link

Feedback for go - get_all_billing_invoice_items.go #201

Closed zxqw1541 closed 3 years ago

zxqw1541 commented 4 years ago

Feedback regarding: https://sldn.softlayer.com/go/get_all_billing_invoice_items.go/

hi. Thanks for the source.

I found wrong source.

fmt.Printf("\n\nINVOICE ID: %d\t CREATE DATE: %s\t TYPE CODE: %s\n\n", invoice.Id, invoice.CreateDate, *invoice.TypeCode)

It seems to be changed to this

fmt.Printf("\n\nINVOICE ID: %d\t CREATE DATE: %s\t TYPE CODE: %s\n\n", invoice.Id, invoice.CreateDate, invoice.TypeCode)

allmightyspiff commented 3 years ago

Fixed in https://github.com/softlayer/githubio_source/pull/426