I am using golang and want to store some data in dynamo db in set of strings format SS
. It is possible to store data but when I want to pull it back on unmarshaling stage it unmarshal every property except of prop that contain set of strings. Structure that I use to unmarshal in has []string
type of that property. I saw that dynamodbattribute
have some specific methods for unmarshaling like UnmarshalMap
and so one but I didn't find specific method for SS. Can someone give me an advise?
Currently I have created custom unmarshaler following that example:
but I still think that I am doin smth wrong because it should be easier way to parse set of strings...