Description

A Marshaler is an interface to provide custom marshaling of Go value types to AttributeValues. Use this to provide custom logic determining how a Go Value type should be marshaled.

type ExampleMarshaler struct {
	Value int
}
type (m *ExampleMarshaler) 	MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error {
	n := fmt.Sprintf("%v", m.Value)
	av.N = &n

	return nil
}

Marshaler is referenced in 1 repository

github.com/aws/aws-sdk-go