You might want to use `Printf("the dao: %+v", dao)`, for example - it will
also print type-names and should make it more obvious what you have.
On Mon, Jan 18, 2021 at 9:16 PM Axel Wagner
wrote:
> On Mon, Jan 18, 2021 at 9:12 PM 'Alexander Mills' via golang-nuts <
> golang-nuts@googlegroups.com>
On Mon, Jan 18, 2021 at 9:12 PM 'Alexander Mills' via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> does anyone know why calling the method would result in a nil pointer? To
> me it seems like the object for which the method is being called is nil
>
No, it is a pointer to a struct with two
I have this line:
fmt.Printlin("the dao:", dao);
and it logs:
the dao: &{ }
the overall method looks like:
func (dao *UserAttributeDao) GetDecryptedUserAttributes(workflowID string)
(*PayoutUserAttributeRecord, error) {
getItemInput := &dynamodb.GetItemInput{
TableName: aws.String(payoutUser