AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UserInfo

import "github.com/aws/aws-sdk-go/service/codecommit"

type UserInfo struct { Date *string `locationName:"date" type:"string"` Email *string `locationName:"email" type:"string"` Name *string `locationName:"name" type:"string"` }

Information about the user who made a specified commit.

Date

Type: *string

The date when the specified commit was commited, in timestamp format with GMT offset.

Email

Type: *string

The email address associated with the user who made the commit, if any.

Name

Type: *string

The name of the user who made the specified commit.

Method

GoString

func (s UserInfo) GoString() string

GoString returns the string representation

SetDate

func (s *UserInfo) SetDate(v string) *UserInfo

SetDate sets the Date field's value.

SetEmail

func (s *UserInfo) SetEmail(v string) *UserInfo

SetEmail sets the Email field's value.

SetName

func (s *UserInfo) SetName(v string) *UserInfo

SetName sets the Name field's value.

String

func (s UserInfo) String() string

String returns the string representation

On this page: